Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
*** 42,54 ****
.\"
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
.\" Copyright (c) 2013 Gary Mills
! .\" Copyright (c) 2017, Joyent, Inc.
.\"
! .TH PS 1 "Jun 13, 2017"
.SH NAME
ps \- report process status
.SH SYNOPSIS
.LP
.nf
--- 42,54 ----
.\"
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
.\" Copyright (c) 2013 Gary Mills
! .\" Copyright (c) 2018, Joyent, Inc.
.\"
! .TH PS 1 "August 22, 2018"
.SH NAME
ps \- report process status
.SH SYNOPSIS
.LP
.nf
*** 1047,1056 ****
--- 1047,1066 ----
.RE
.sp
.ne 2
.na
+ \fB\fBlwpname\fR\fR
+ .ad
+ .RS 11n
+ The name of the lwp, if set. Requesting this formatting option causes
+ one line to be printed for each lwp in the process.
+ .RE
+
+ .sp
+ .ne 2
+ .na
\fB\fBnlwp\fR\fR
.ad
.RS 11n
The number of lwps in the process.
.RE
*** 1171,1182 ****
\fBpflags\fR(1). The currently supported data models are _ILP32 and _LP64.
.RE
.sp
.LP
! Only \fBcomm\fR and \fBargs\fR are allowed to contain blank characters; all
! others, including the Solaris implementation variables, are not.
.sp
.LP
The following table specifies the default header to be used in the POSIX locale
corresponding to each format specifier.
.sp
--- 1181,1192 ----
\fBpflags\fR(1). The currently supported data models are _ILP32 and _LP64.
.RE
.sp
.LP
! Only \fBcomm\fR, \fBlwpname\fR, and \fBargs\fR are allowed to contain blank
! characters; all others, including the Solaris implementation variables, are not.
.sp
.LP
The following table specifies the default header to be used in the POSIX locale
corresponding to each format specifier.
.sp
*** 1219,1234 ****
f F rgid RGID
fname COMMAND rss RSS
gid GID ruid RUID
lgrp LGRP s S
lwp LWP sid SID
! nlwp NLWP stime STIME
! opri PRI taskid TASKID
! osz SZ uid UID
! pmem %MEM wchan WCHAN
! pri PRI zone ZONE
! ctid CTID zoneid ZONEID
.TE
.SH EXAMPLES
.LP
\fBExample 1 \fRUsing \fBps\fR Command
--- 1229,1245 ----
f F rgid RGID
fname COMMAND rss RSS
gid GID ruid RUID
lgrp LGRP s S
lwp LWP sid SID
! lwpname LWPNAME stime STIME
! nlwp NLWP taskid TASKID
! opri PRI uid UID
! osz SZ wchan WCHAN
! pmem %MEM zone ZONE
! pri PRI zoneid ZONEID
! ctid CTID
.TE
.SH EXAMPLES
.LP
\fBExample 1 \fRUsing \fBps\fR Command