3 ps, psu, pstree \- process status
21 prints information about processes.
23 prints only information about processes started by
28 For each process reported,
35 and command name are printed.
36 State is one of the following:
37 .TP \w'\fLno\ \fIresource\ \ \ 'u
39 Process has exited and is about to have its
43 on the queue of processes ready to be run.
52 waiting on a queue for a resource.
55 waiting for I/O or some other kernel event to wake it up.
58 dead of unnatural causes; lingering
59 so that it can be examined.
65 waiting for another process to stop.
68 servicing a page fault.
71 waiting for something to do (kernel processes only).
77 paging out some other process.
80 performing the named system call.
83 waiting for more of a critical
91 to print, after the process id, the note group to which the process belongs.
97 to print, before the user time, the elapsed real time for the process.
103 to print, after the system time, the baseline and current priorities of each process.
109 to print the arguments for the process. Newlines in arguments will be translated to spaces for display.
112 shows the processes as a tree.
120 .B /sys/src/cmd/pstree.c