summaryrefslogtreecommitdiff
path: root/sys/man/1/ps
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-07-05 20:39:34 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-07-05 20:39:34 +0200
commit45f55eb644343da015d8b93d4f7d68bbf17ada9d (patch)
treea70c1527ea4211979376049b30e22d4cf26f7c90 /sys/man/1/ps
parentf976fbe8c7ef291831752ceb65d4609d4dd7b39f (diff)
add pstree to ps(1) manpage.
Diffstat (limited to 'sys/man/1/ps')
-rw-r--r--sys/man/1/ps9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/man/1/ps b/sys/man/1/ps
index 3f3c9629d..d08fa3f29 100644
--- a/sys/man/1/ps
+++ b/sys/man/1/ps
@@ -1,6 +1,6 @@
.TH PS 1
.SH NAME
-ps, psu \- process status
+ps, psu, pstree \- process status
.SH SYNOPSIS
.B ps
[
@@ -14,6 +14,8 @@ ps, psu \- process status
[
.I user
]
+.PP
+.B pstree
.SH DESCRIPTION
.I Ps
prints information about processes.
@@ -99,12 +101,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),