]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/1/ps
paint(1) fix bad cross reference
[plan9front.git] / sys / man / 1 / ps
index 3f3c9629dfad688c71d16642a2b55409314747b7..5d1c86b1fb0c80ec5fe061c5ef0ce838b2b0d08a 100644 (file)
@@ -1,19 +1,21 @@
 .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.
@@ -83,6 +85,12 @@ waiting for more of a critical
 .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
@@ -99,12 +107,17 @@ The
 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),