Provided by: manpages-ja_0.5.0.0.20110915-1_all bug

ps [options]

ps  top(1)

 ps
  ps  ps

"ps -aux"  "ps aux" POSIX  UNIX "ps -aux"  "x"  -a "x"  ps  "ps aux"

ps  (effective)  ID (EUID)  ID (PID) (TTY) [dd-]hh:mm:ss  CPU  (TIME)  (CMD)

BSD  (STAT)  (COMMAND)  PS_FORMAT BSD  (TTY)  ("identical") -M  Z

:  ps -e
   ps -ef
   ps -eF
   ps -ely
   ps ax
   ps axu

:  ps -ejH
   ps axjf

:  ps -eLf
   ps axms

:  ps -eo euser,ruser,suser,fuser,f,comm,label
   ps axZ
   ps -eM
   : ps -U root -u root u

:  ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
   ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm
   ps -eopid,tt,user,fname,tmout,f,wchan
   ps -C syslogd -o pid=
   ps -p 42 -o comm=

-A -e


-N () --deselect


T t


-a               (getsid(2) )

a BSD ("-" ) ps (personality) BSD BSD : ps (tty) x


-d


-e -A


g                 a sunos4

r


x BSD ("-" ) ps BSD BSD : ps (ps EUID ) a


--deselect () -N


 1 : ps -p "1 2" -p 3,4

-C cmdlist

                 cmdlist

-G  grplist      ID
                 ID grplist  ID getgid(2)

U  userlist      ID (EUID)
                 ID userlist  ID  (geteuid(2) ) -u, --user

-U  userlist     ID (RUID)
                 ID userlist  ID getuid(2)

-g  grplist      OR
                  ID  ps  ()  ID -s  --group

p pidlist ID -p, --pid


-p  pidlist     PID
                 ID  pidlist p, --pid

-s  sesslist     ID
                sesslist  ID

t  ttylist       (tty) -t, --tty  ttylist ps T t  ttylist

-t  ttylist      (tty)
                ttylist  ( tty ) : /dev/ttyS1, ttyS1, S1. "-"

-u  userlist     ID (EUID)
                userlist  ID  ID  (geteuid(2) ) U, --user

--Group grplist

                 ID (RGID) -G

--User userlist

                 ID (RUID) -U

--group grplist

                 ID (EGID)
                 ID grouplist  ID  (geteuid(2) ) -g  --group

--pid pidlist ID -p, p


--ppid  pidlist  ID  ID  pidlist pidlist

--sid sesslist ID -s


--tty ttylist -t, t


--user userlist

                 ID (EUID) -u, U

-123            --sid 123

123             --pid 123

ps


-F -F -f


-O format -o -o pid,format,state,tname,time,command

                -o pid,format,tname,time,cmd  -o

O  format        o ()
                BSD  O -O ( ) () (-O  --sort )

                 BSD  -O

-M               Z (SE Linux )

X


Z                -M (SE Linux )

-c -l


-f UNIX -L NLWP (), LWP ( ID) args comm c


j               BSD

-j              jobs

l               BSD

-l -y


o format -o, --format


-o format

                format 1 (ps -o pid,ruser=RealUser -o comm=Command)
                (ps -o pid= -o comm=)  WCHAN
                (ps -o pid,wchan=WIDE-WCHAN-COLUMN -o comm)
                (ps opid,wchan:42,cmd) ps -o pid=X,comm=Y "X,comm=Y"  1 "X"
                "Y"  2 -o PS_FORMAT DefSysV  DefBSD  UNIX  BSD

s


u


v


-y addr rss -l


--format format

                 -o, o

--context        (SE Linux )

-H               ()

N namelist -n -n


O  order         ()
                BSD  O -O ( ) () (-O  --sort )

                 BSD  O O[+|-]k1[,[+|-]k2[,...]] 1 k1, k2, ...

                "+" O  O "-"

S                CPU  fork

c argv (setproctitle(3) ) args comm -f BSD () -f args comm


e


f               ASCII  ()

h                ( BSD  1 )
                h  BSD  ps  Linux  ps  ps  Linux  BSD  --headers  --no-headers

k  spec          [+|-]key[,[+|-]key[,...]] "+" --sort :
                ps jaxkuid,-ppid,+pid
                ps axk comm o comm,args
                ps kstart_time -ef

-n namelist N

                WCHAN  Linux :

                     $PS_SYSMAP
                     $PS_SYSTEM_MAP
                     /proc/*/wchan
                     /boot/System.map-`uname -r`
                     /boot/System.map
                     /lib/modules/`uname -r`/System.map
                     /usr/src/linux/System.map
                     /System.map

n               WCHAN  USER  (UID  GID )

-w               2

w                2

--cols n


--columns n


--cumulative     ()

--forest        ASCII

--headers        1  1

--no-headers


--lines n


--rows n


--sort  spec     [+|-]key[,[+|-]key[,...]] "+" k :
                ps jax --sort=uid,-ppid,+pid

--width n


H

-L               LWP  NLWP
-T               SPID

m

-m


L

-V              procps
V               procps

--help

--info

--version       procps

 ps  /proc  ps  kmem  suid  ps

 ps  WCHAN 2.6 System.map

 CPU ps CPU  100%
<defunct>  () init(8)

flags "F"
4

s, stat, state ( "STAT"  "S")
T
BSD  stat
<     ()
s
+

 BSD  O () GNU  --sort ps  (cook) ( (tty) ) ps  sort(1)

AIX

 ps  AIX  printf(1)  printf(3) ps -eo "%p %y %x %c"

%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

 ( -o ) GNU  --sort

:  ps -eo pid,user,args --sort user

 ps  ps

: args, cmd, comm, command, fname, ucmd, ucomm, lstart, bsdstart, start.

%cpu       %CPU      cpu  "##.#"  CPU  100%  () ( pcpu)

%mem       %MEM      ( pmem)

args COMMAND <defunct> ps ( cmd, command) comm -f c

                      () ps (80 TERM ) COLUMNS --cols w  -w

blocked    BLOCKED  signal(7) 32  64 16 ( sig_block, sigmask)

bsdstart   START      24  " HH:MM" 24  "mmm dd" ( mmm  3 )

bsdtime    TIME      cpu  "MMM:SS"  cpu  999

c          C         (%cpu )

caught     CAUGHT    signal(7) 32  64 16 ( sig_catch, sigcatch)

class      CLS       ( policy, cls) :
                    -
                    TS         SCHED_OTHER
                    FF         SCHED_FIFO
                    RR         SCHED_RR
                    ?

cls        CLS       ( policy, class) :
                    -
                    TS         SCHED_OTHER
                    FF         SCHED_FIFO
                    RR         SCHED_RR
                    ?

cmd        CMD      args ( args, command)

comm COMMAND () <defunct> ( ucmd, ucomm) args -f c

                      () ps (80 TERM ) COLUMNS --cols w  -w

command    COMMAND  args ( args, cmd)

cp         CP        ( 1/10)  CPU (%cpu )

cputime    TIME      CPU "[dd-]hh:mm:ss" ( time)

egid       EGID      ID  10 ( gid)

egroup     EGROUP    ID  ID  10 ( group).

eip        EIP

esp        ESP

etime      ELAPSED   [[dd-]hh:]mm:ss

euid       EUID      ID( uid)

euser      EUSER      ID  10 n  10 ( uname, user)

f          F         ( flag, flags)

fgid       FGID      ID( fsgid)

fgroup     FGROUP    ID  ID  10 ( fsgroup).

flag       F        f ( f, flags)

flags      F        f ( f, flag)

fname      COMMAND   8

fuid       FUID      ID( fsuid)

fuser      FUSER     ID  ID  10

gid        GID      egid ( egid)

group      GROUP    egroup ( egroup)

ignored    IGNORED  signal(7) 32  64 16 ( sig_ignore, sigignore)

label      LABEL      SE Linux  (Mandatory Access Control, "MAC")

lstart     STARTED

lwp        LWP      lwp ( (light weight process) )  ID ( spid, tid)

ni         NI       nice  19 ()  -20 () nice(1) ( nice)

nice       NI       ni ( ni)

nlwp       NLWP      lwp () ( thcount)

nwchan     WCHAN     ( wchan )  ('-')

pcpu       %CPU     %cpu ( %cpu)

pending    PENDING   (pending) signal(7) m  -m 32  64 16 ( sig)

pgid       PGID      ID  ID ( pgrp)

pgrp       PGRP     pgid ( pgid)

pid        PID       ID

pmem       %MEM     %mem ( %mem)

policy     POL       ( class, cls) :
                    -
                    TS         SCHED_OTHER
                    FF         SCHED_FIFO
                    RR         SCHED_RR
                    ?

ppid       PPID      ID

psr        PSR

rgid       RGID      ID

rgroup     RGROUP     ID  10

rss        RSS        (kB ) ( rssize, rsz)

rssize     RSS      rss ( rss, rsz)

rsz        RSZ      rss ( rss, rssize)

rtprio     RTPRIO

ruid       RUID      ID

ruser      RUSER     ID  ID  10

s          S         (1 ) stat ( state)

sched      SCH        sched_other, sched_fifo, sched_rr  0, 1, 2

sess       SESS      ID  ID ( session, sid)

sgi_p      P         "*"

sgid       SGID      ID ( svgid)

sgroup     SGROUP     ID  10

sid        SID      sess ( sess, session)

sig        PENDING  pending ( pending, sig_pend)

sigcatch   CAUGHT   caught ( caught, sig_catch)

sigignore  IGNORED  ignored ( ignored, sig_ignore)

sigmask    BLOCKED  blocked ( blocked, sig_block)

size       SZ        (dirty)

spid       SPID     lwp ( lwp, tid)

stackp     STACKP    ()

start      STARTED    24  " HH:MM:SS" 24  "  mmm dd" ( mmm  3 )

start_time START     ps  "mmmdd"  "HH:MM"

stat STAT s state


state      S        s ( s)

suid       SUID      ID( svuid)

suser      SUSER      ID  10 ( svuser)

svgid      SVGID    sgid ( sgid).

svuid      SVUID    suid ( suid)

sz SZ vsz rss


thcount    THCNT    nlwp ( nlwp)

tid        TID      lwp ( lwp)

time       TIME      CPU "[dd-]hh:mm:ss" ( cputime)

tname      TTY       (tty) ( tt, tty)

tpgid      TPGID     (tty)  ID  -1

tt         TT        (tty)( tname, tty)

tty        TT        (tty)( tname, tt)

ucmd       CMD      comm ( comm, ucomm)

ucomm      COMMAND  comm ( comm, ucmd)

uid        UID      euid ( euid)

uname      USER     euser ( euser, user)

user       USER     euser ( euser, uname)

vsize      VSZ      vsz ( vsz)

vsz        VSZ       (KiB, 1024 ) ( vsize)

wchan      WCHAN      "-"  ps "*"

 ps :

COLUMNS


LINES


PS_PERSONALITY

   posix, old, linux, bsd, sun, digital (\[u300D])

CMD_ENV

   posix, old, linux, bsd, sun, digital (\[u300D])

I_WANT_A_BROKEN_PS

   obsolete

LC_TIME


PS_COLORS


PS_FORMAT

    -o DefSysV  DefBSD

PS_SYSMAP

    (System.map)

PS_SYSTEM_MAP

    (System.map)

POSIXLY_CORRECT


POSIX2

   "on" POSIXLY_CORRECT

UNIX95


_XPG

   CMD_ENV=irix

  CMD_ENV  PS_PERSONALITY  Linux ps  Unix98

390        S/390 OpenEdition  ps
aix        AIX  ps
bsd        FreeBSD  ps  ()
compaq     Digital Unix  ps
debian      Debian  ps
digital    Tru64 ( Digital Unix  OSF/1)  ps
gnu         Debian  ps
hp         HP-UX  ps
hpux       HP-UX  ps
irix       Irix  ps
old         Linux  ps  ()
os390      OS/390 Open Edition  ps
posix
s390       OS/390 Open Edition  ps
sco        SCO  ps
sgi        Irix  ps
solaris2   Solaris 2+ (SunOS 5)  ps
sunos4     SunOS 4 (Solaris 1)  ps  ()
svr4
sysv
tru64      Tru64 ( Digital Unix  OSF/1)  ps
unix
unix95
unix98

top(1), pgrep(1), pstree(1), proc(5).

 ps :
Branko Lankester <lankeste@fwi.uva.nl>  ps Michael K. Johnson
<johnsonm@redhat.com> proc Michael Shields <mjshield@nyx.cs.du.edu>  pid
 <procps-feedback@lists.sf.net> (: )