4.1 System Resources
Syntax
ps [options]
Common Options
BSD SVR4
-a -e all processes, all users
-e environment/everything
-g process group leaders as well
-l -l long format
-u -u user user oriented report
-x -e even processes not executed from terminals
-f full listing
-w report first 132 characters per line
note -- Because the ps command is highly system-specific, it is recommended that you consult the man pages of your system for details of options and interpretation of ps output.
Examples
{unix prompt 5} ps
PID TT STAT TIME COMMAND
15549 p0 IW 0:00 -tcsh (tcsh)
15588 p0 IW 0:00 man nice
15594 p0 IW 0:00 sh -c less /tmp/man15588
15595 p0 IW 0:00 less /tmp/man15588
15486 p1 S 0:00 -tcsh (tcsh)
15599 p1 T 0:00 emacs unixgrep.txt
15600 p1 R 0:00 ps