glenda.party
term% ls -F
term% pwd
$home/manuals/plan9_2nd/1/ps
term% cat index.txt
PS(1)                       General Commands Manual                      PS(1)



NAME
       ps, psu - process status

SYNOPSIS
       ps

       psu [ user ]

DESCRIPTION
       Ps  prints  information  about  processes.  Psu prints only information
       about processes started by user (default $user).

       For each process reported, the user,  process  id,  user  time,  system
       time,  size,  state, and command name are printed.  State is one of the
       following:

       Moribund      Process has exited and is about to have its resources re‐
                     claimed.

       Ready         on the queue of processes ready to be run.

       Scheding      about to be run.

       Running       running.

       Queueing      waiting on a queue for a resource.

       Wakeme        waiting for I/O or some other kernel event to wake it up.

       Broken        dead of unnatural causes; lingering so that it can be ex‐
                     amined.

       Stopped       stopped.

       Stopwait      waiting for another process to stop.

       Fault         servicing a page fault.

       Idle          waiting for something to do (kernel processes only).

       New           being created.

       Pageout       paging out some other process.

       Syscall       performing the named system call.

       no resource   waiting for more of a critical resource.

FILES
       /proc/*/status

SOURCE
       /sys/src/cmd/ps.c
       /rc/bin/psu

SEE ALSO
       kill(1), db(1), ps(1), proc(3)



                                                                         PS(1)