On Wed, 2010-12-15 at 17:40 +0300, alex stone wrote:
Doesn't work with the "-" here in
Gentoo. (bogus syntax error)
ps O cgroup
seems to work ok though.
But, it doesn't give the same information...
$ ps -O cgroup
PID CGROUP S TTY TIME COMMAND
29587 - S pts/11 00:00:00 bash
29610 - R pts/11 00:00:00 ps -O cgroup
$ ps O cgroup
PID TTY STAT TIME COMMAND
13749 pts/1 Ss+ 0:00 bash
13825 pts/4 Ss 0:00 bash
13851 pts/5 Ss+ 0:00 bash
14703 pts/0 Ss 0:00 -bash
21558 pts/2 Ss 0:00 bash
26460 pts/10 Ss+ 0:00 bash
26784 pts/3 Ss 0:00 bash
[...]
Peter.