git: 9front

Download patch

ref: 2bb15693efa03d4ce8565c0c56041d054450bbcd
parent: 871f4f9f9eb77e97a3f4b91d577dfffd6ef95fa7
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Thu Jul 5 16:39:34 EDT 2012

add pstree to ps(1) manpage.

--- 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 @@
 [
 .I user
 ]
+.PP
+.B pstree
 .SH DESCRIPTION
 .I Ps
 prints information about processes.
@@ -99,6 +101,9 @@
 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
@@ -105,6 +110,8 @@
 .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),
--