以下の内容はhttps://yohei-a.hatenablog.jp/entry/20101116/1289902730より取得しました。


ps で実効グループを表示させる方法

$ ps -eo '%U %G %p %c'
USER     GROUP      PID COMMAND
root     root         1 init
root     root         2 migration/0
root     root         3 ksoftirqd/0
root     root         4 watchdog/0
root     root         5 migration/1
root     root         6 ksoftirqd/1
root     root         7 watchdog/1

...

↓使い方は man で見れます。

$ uname -r
2.6.18-164.el5
$ man ps

...

AIX FORMAT DESCRIPTORS
This ps supports AIX format descriptors, which work somewhat like the
formatting codes of printf(1) and printf(3). For example, the normal default
output can be produced with this:  ps -eo "%p %y %x %c". The NORMAL codes
are described in the next section.

CODE   NORMAL   HEADER
%C     pcpu     %CPU
%G     group    GROUP
%P     ppid     PPID
%U     user     USER
%a     args     COMMAND
%c     comm     COMMAND
%g     rgroup   RGROUP
%n     nice     NI
%p     pid      PID
%r     pgid     PGID
%t     etime    ELAPSED
%u     ruser    RUSER
%x     time     TIME
%y     tty      TTY
%z     vsz      VSZ



以上の内容はhttps://yohei-a.hatenablog.jp/entry/20101116/1289902730より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14