ps, psu, pstree – process status|
ps [ –apnr ] |
psu [ –apnr ] [ user ]
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:
The –n flag causes ps to print, after the process id, the note group to which the process belongs.
The –r flag causes ps to print, before the user time, the elapsed real time for the process.
The –p flag causes ps to print, after the system time, the baseline and current priorities of each process.
The –a flag causes ps to print the arguments for the process. Newlines in arguments will be translated to spaces for display.
Pstree prints the processes as a tree in a two colum layout where
the first colum being the process id and second column the program
name and arguments indented and prefixed with line drawing runes
to reflect the nesting in the hierarchy.
acid(1), db(1), kill(1), ns(1), proc(3)|
Pstree first appeared in 9front (June, 2011).|