summaryrefslogtreecommitdiff
path: root/usr/src/man/man1/ptree.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1/ptree.1')
-rw-r--r--usr/src/man/man1/ptree.129
1 files changed, 6 insertions, 23 deletions
diff --git a/usr/src/man/man1/ptree.1 b/usr/src/man/man1/ptree.1
index 11179dd66d..a8de77c0bd 100644
--- a/usr/src/man/man1/ptree.1
+++ b/usr/src/man/man1/ptree.1
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH ptree 1 "11 Oct 2005" "SunOS 5.11" "User Commands"
+.TH PTREE 1 "Oct 11, 2005"
.SH NAME
ptree \- print process trees
.SH SYNOPSIS
@@ -25,35 +25,29 @@ otherwise it is assumed to be a user login name. The default is all processes.
The following options are supported:
.sp
.ne 2
-.mk
.na
\fB\fB-a\fR\fR
.ad
.RS 11n
-.rt
All. Print all processes, including children of process 0.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-c\fR\fR
.ad
.RS 11n
-.rt
Contracts. Print process contract memberships in addition to parent-child
relationships. See \fBprocess\fR(4). This option implies the \fB-a\fR option.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-z\fR \fIzone\fR\fR
.ad
.RS 11n
-.rt
Zones. Print only processes in the specified \fIzone\fR. Each zone \fBID\fR can
be specified as either a zone name or a numerical zone \fBID\fR.
.sp
@@ -66,12 +60,10 @@ This option is only useful when executed in the global zone.
The following operands are supported:
.sp
.ne 2
-.mk
.na
\fB\fIpid\fR\fR
.ad
.RS 8n
-.rt
Process-id or a list of process-ids. \fBptree\fR also accepts
\fB/proc/\fR\fInnn\fR as a process-id, so the shell expansion \fB/proc/*\fR can
be used to specify all processes in the system.
@@ -79,12 +71,10 @@ be used to specify all processes in the system.
.sp
.ne 2
-.mk
.na
\fB\fIuser\fR\fR
.ad
.RS 8n
-.rt
Username or list of usernames. Processes whose effective user IDs match those
given are displayed.
.RE
@@ -119,35 +109,29 @@ $ ptree -a `pgrep ssh`
The following exit values are returned:
.sp
.ne 2
-.mk
.na
\fB\fB0\fR\fR
.ad
.RS 12n
-.rt
Successful operation.
.RE
.sp
.ne 2
-.mk
.na
\fBnon-zero\fR
.ad
.RS 12n
-.rt
An error has occurred.
.RE
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/proc/*\fR\fR
.ad
.RS 11n
-.rt
process files
.RE
@@ -159,13 +143,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilitySee below.
+Interface Stability See below.
.TE
.sp