Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
@@ -601,10 +601,16 @@
The decimal value of the lwp ID. Requesting this formatting
option causes one line to be printed for each lwp in the
process.
+ lwpname
+ The name of the lwp, if set. Requesting this formatting
+ option causes one line to be printed for each lwp in the
+ process.
+
+
nlwp
The number of lwps in the process.
psr
@@ -667,12 +673,12 @@
via pflags(1). The currently supported data models are
_ILP32 and _LP64.
- Only comm and args are allowed to contain blank characters; all others,
- including the Solaris implementation variables, are not.
+ Only comm, lwpname, and args are allowed to contain blank characters;
+ all others, including the Solaris implementation variables, are not.
The following table specifies the default header to be used in the
POSIX locale corresponding to each format specifier.
@@ -710,16 +716,17 @@
| 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 |
+ | 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 |
+------------------------------------------+
EXAMPLES
Example 1 Using ps Command
@@ -822,6 +829,6 @@
ps is CSI-enabled except for login names (usernames).
- June 13, 2017 PS(1)
+ August 22, 2018 PS(1)