Debian Codegraph @

src/ps/regression

raw
1 -u 500 -o pid,ppid,fname,comm,args # right margin trouble
2 -u 500 -o pid,ppid,fname,comm,args,wchan,wchan,wchan,wchan,wchan,nice,wchan
3 -u 500 -o pid,pid,pid,pid,user,user,user,args # had trouble
4 -u 500 -o user,user,user,pid,pid,pid,pid,args # no trouble!
5
6 Test with each type of field (RIGHT,LEFT,UNLIMITED...) hanging off the
7 edge of the screen and each type of field to the left of the one that
8 hangs off the edge.
9
10 Test "ps ef" as _both_ normal user and root. Especially after su!
11
12 On a 108-col screen, try "ps alx" and "ps alx | cat"
13
14 These ought to be the same:
15 CMD_ENV=old ps -m
16 CMD_ENV=old ps m
17
18 These ought to be the same:
19 CMD_ENV=old ps -X
20 CMD_ENV=old ps X
21 ps X
22 ps -X # needs to be a non-SysV option
23
24 This should fail:
25 ps x -x
26