.TH PS 1
.SH NAME
-ps, psu \- process status
+ps, psu, pstree \- process status
.SH SYNOPSIS
.B ps
[
-.B -apr
+.B -apnr
]
.PP
.B psu
[
-.B -apr
+.B -apnr
]
[
.I user
]
+.PP
+.B pstree
.SH DESCRIPTION
.I Ps
prints information about processes.
.PD
.PP
The
+.B -n
+flag causes
+.I ps
+to print, after the process id, the note group to which the process belongs.
+.PP
+The
.B -r
flag causes
.I ps
flag causes
.I ps
to print the arguments for the process. Newlines in arguments will be translated to spaces for display.
+.PP
+.I Pstree
+shows the processes as a tree.
.SH FILES
.B /proc/*/status
.SH SOURCE
.B /sys/src/cmd/ps.c
.br
.B /rc/bin/psu
+.br
+.B /sys/src/cmd/pstree.c
.SH "SEE ALSO"
.IR acid (1),
.IR db (1),