ps option

linux/Tip 2007. 5. 8. 15:54

 -o Format (Continued)
            Otherwise, multiple fields in a specified format can be displayed by the Format variable, including field descriptors. If field descriptors are used in the Format variable, it must be enclosed in double quotation marks (" "). The following table shows how field descriptors correspond to field specifiers:

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


ex>ps -efo "%u %a"|grep tms_db2

'linux > Tip' 카테고리의 다른 글

console term 해상도 조정  (0) 2007.06.01
SSH brute force 막기(ver3)  (0) 2007.06.01
Xen  (0) 2007.05.02
SELinux 관련 qna  (0) 2007.04.30
SELinux  (0) 2007.04.30
Posted by efrit
,