Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/ps.1
          +++ new/usr/src/man/man1/ps.1
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  38   38  .\" If applicable, add the following below this CDDL HEADER, with the
  39   39  .\" fields enclosed by brackets "[]" replaced with your own identifying
  40   40  .\" information: Portions Copyright [yyyy] [name of copyright owner]
  41   41  .\"
  42   42  .\"
  43   43  .\" Copyright 1989 AT&T
  44   44  .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
  45   45  .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
  46   46  .\" Copyright (c) 2013 Gary Mills
  47      -.\" Copyright (c) 2017, Joyent, Inc.
       47 +.\" Copyright (c) 2018, Joyent, Inc.
  48   48  .\"
  49      -.TH PS 1 "Jun 13, 2017"
       49 +.TH PS 1 "August 22, 2018"
  50   50  .SH NAME
  51   51  ps \- report process status
  52   52  .SH SYNOPSIS
  53   53  .LP
  54   54  .nf
  55   55  \fBps\fR [\fB-aAcdefjHlLPWyZ\fR] [\fB-g\fR \fIgrplist\fR] [\fB-h\fR \fIlgrplist\fR]
  56   56       [\fB-n\fR \fInamelist\fR] [\fB-o\fR \fIformat\fR]... [\fB-p\fR \fIproclist\fR]
  57   57       [\fB-s\fR \fIsidlist\fR] [\fB-t\fR \fIterm\fR] [\fB-u\fR \fIuidlist\fR] [\fB-U\fR \fIuidlist\fR]
  58   58       [\fB-G\fR \fIgidlist\fR] [\fB-z\fR \fIzonelist\fR]
  59   59  .fi
↓ open down ↓ 982 lines elided ↑ open up ↑
1042 1042  \fB\fBlwp\fR\fR
1043 1043  .ad
1044 1044  .RS 11n
1045 1045  The decimal value of the lwp \fBID\fR. Requesting this formatting option causes
1046 1046  one line to be printed for each lwp in the process.
1047 1047  .RE
1048 1048  
1049 1049  .sp
1050 1050  .ne 2
1051 1051  .na
     1052 +\fB\fBlwpname\fR\fR
     1053 +.ad
     1054 +.RS 11n
     1055 +The name of the lwp, if set. Requesting this formatting option causes
     1056 +one line to be printed for each lwp in the process.
     1057 +.RE
     1058 +
     1059 +.sp
     1060 +.ne 2
     1061 +.na
1052 1062  \fB\fBnlwp\fR\fR
1053 1063  .ad
1054 1064  .RS 11n
1055 1065  The number of lwps in the process.
1056 1066  .RE
1057 1067  
1058 1068  .sp
1059 1069  .ne 2
1060 1070  .na
1061 1071  \fB\fBpsr\fR\fR
↓ open down ↓ 104 lines elided ↑ open up ↑
1166 1176  .na
1167 1177  \fB\fBdmodel\fR\fR
1168 1178  .ad
1169 1179  .RS 11n
1170 1180  The data model of the process, printed in the same manner as via
1171 1181  \fBpflags\fR(1). The currently supported data models are _ILP32 and _LP64.
1172 1182  .RE
1173 1183  
1174 1184  .sp
1175 1185  .LP
1176      -Only \fBcomm\fR and \fBargs\fR are allowed to contain blank characters; all
1177      -others, including the Solaris implementation variables, are not.
     1186 +Only \fBcomm\fR, \fBlwpname\fR, and \fBargs\fR are allowed to contain blank
     1187 +characters; all others, including the Solaris implementation variables, are not.
1178 1188  .sp
1179 1189  .LP
1180 1190  The following table specifies the default header to be used in the POSIX locale
1181 1191  corresponding to each format specifier.
1182 1192  .sp
1183 1193  
1184 1194  .sp
1185 1195  .TS
1186 1196  box;
1187 1197  c c c c
↓ open down ↓ 1 lines elided ↑ open up ↑
1189 1199  Format  Default Format  Default
1190 1200  Specifier       Header  Specifier       Header
1191 1201  _
1192 1202  args    COMMAND ppid    PPID
1193 1203  comm    COMMAND rgroup  RGROUP
1194 1204  etime   ELAPSED ruser   RUSER
1195 1205  group   GROUP   time    TIME
1196 1206  nice    NI      tty     TT
1197 1207  pcpu    %CPU    user    USER
1198 1208  pgid    PGID    vsz     VSZ
1199      -pid     PID             
     1209 +pid     PID
1200 1210  .TE
1201 1211  
1202 1212  .sp
1203 1213  .LP
1204 1214  The following table lists the Solaris implementation format specifiers and the
1205 1215  default header used with each.
1206 1216  .sp
1207 1217  
1208 1218  .sp
1209 1219  .TS
↓ open down ↓ 4 lines elided ↑ open up ↑
1214 1224  Specifier       Header  Specifier       Header
1215 1225  _
1216 1226  addr    ADDR    projid  PROJID
1217 1227  c       C       project PROJECT
1218 1228  class   CLS     psr     PSR
1219 1229  f       F       rgid    RGID
1220 1230  fname   COMMAND rss     RSS
1221 1231  gid     GID     ruid    RUID
1222 1232  lgrp    LGRP    s       S
1223 1233  lwp     LWP     sid     SID
1224      -nlwp    NLWP    stime   STIME
1225      -opri    PRI     taskid  TASKID
1226      -osz     SZ      uid     UID
1227      -pmem    %MEM    wchan   WCHAN
1228      -pri     PRI     zone    ZONE
1229      -ctid    CTID    zoneid  ZONEID
     1234 +lwpname LWPNAME stime   STIME
     1235 +nlwp    NLWP    taskid  TASKID
     1236 +opri    PRI     uid     UID
     1237 +osz     SZ      wchan   WCHAN
     1238 +pmem    %MEM    zone    ZONE
     1239 +pri     PRI     zoneid  ZONEID
     1240 +ctid    CTID
1230 1241  .TE
1231 1242  
1232 1243  .SH EXAMPLES
1233 1244  .LP
1234 1245  \fBExample 1 \fRUsing \fBps\fR Command
1235 1246  .sp
1236 1247  .LP
1237 1248  The command:
1238 1249  
1239 1250  .sp
↓ open down ↓ 140 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX