6001 strcat(9f) needs a manpage
[unleashed.git] / usr / src / man / man1 / plabel.1
blobf5851d30954dd36316d1f578794f90a6b4fde8f6
1 '\" te
2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH PLABEL 1 "Jul 20, 2007"
7 .SH NAME
8 plabel \- get the label of a process
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/bin/plabel\fR [\fB-sS\fR] [\fIpid\fR...]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBplabel\fR, a proc tools command, gets the label of a process. If the
19 \fIpid\fR is not specified, the label displayed is that of the \fBplabel\fR
20 command. When options are not specified, the output format of the label is
21 displayed in default format.
22 .SH OPTIONS
23 .sp
24 .ne 2
25 .na
26 \fB\fB-s\fR\fR
27 .ad
28 .RS 6n
29 Display the label that is associated with \fIpid\fR in short form.
30 .RE
32 .sp
33 .ne 2
34 .na
35 \fB\fB-S\fR\fR
36 .ad
37 .RS 6n
38 Display the label that is associated with \fIpid\fR in long form.
39 .RE
41 .SH EXIT STATUS
42 .sp
43 .LP
44 \fBplabel\fR exits with one of the following values:
45 .sp
46 .ne 2
47 .na
48 \fB\fB0\fR\fR
49 .ad
50 .RS 5n
51 Successful completion.
52 .RE
54 .sp
55 .ne 2
56 .na
57 \fB\fB1\fR\fR
58 .ad
59 .RS 5n
60 Unsuccessful completion because of a usage error.
61 .RE
63 .sp
64 .ne 2
65 .na
66 \fB\fB2\fR\fR
67 .ad
68 .RS 5n
69 Inability to translate label.
70 .RE
72 .sp
73 .ne 2
74 .na
75 \fB\fB3\fR\fR
76 .ad
77 .RS 5n
78 Inability to allocate memory.
79 .RE
81 .SH ATTRIBUTES
82 .sp
83 .LP
84 See \fBattributes\fR(5) for descriptions of the following attributes:
85 .sp
87 .sp
88 .TS
89 box;
90 c | c
91 l | l .
92 ATTRIBUTE TYPE  ATTRIBUTE VALUE
94 Interface Stability     See below.
95 .TE
97 .sp
98 .LP
99 The \fBplabel\fR utility is Committed. The output is Not-an-Interface.
100 .SH SEE ALSO
103 \fBproc\fR(1), \fBgetplabel\fR(3TSOL), \fBattributes\fR(5)
104 .SH NOTES
107 The functionality described on this manual page is available only if the system
108 is configured with Trusted Extensions.