Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (p - r) ps(1)
-U userlist
Writes information for processes whose real user ID numbers or login names are given
in the userlist argument. The userlist argument is either a list of user IDs or a list of
user IDs enclosed in ""(double quotes) and separated from one another by a comma
or one or more spaces or both. Because of the way the shell treats spaces and tabs, you
need to quote space-separated lists.
HP Extensions
The -W ag and its options are HP extensions to the ps command. They write information about
Guardian and OSS processes.
The -W ag can only be specied with the -W options. It cannot be specied with the other ps
command ags. When the -W ag is is used with other ags, the usage message is displayed and
ps exits in error.
Information displayed by the -W ag is formatted using Guardian environment display conven-
tions, rather than UNIX conventions.
When none of the -W ags are used (or when no other options are used with them), only OSS
processes are candidates for display.
When the -W ag and its options are used, all processes (both OSS and Guardian) are candidates
for display.
All ag options used with the -W ag are used to select processes. Specifying any option causes
the ps command to ignore the default list of options and select the processes represented by the
inclusive "or" of all the selection criteria options. When specifying more than one option, do not
use spaces after the commas.
If the -W ag is specied without one of its valid options (described below), the ps command
displays the usage message and exits in error.
-W all Writes information about all Guardian and OSS processes. If the node= option is omit-
ted, the information displayed is for the local node. If any of the options gpri, prog,
term,orguser are also specied, only information about the matching subset of Guar-
dian and OSS processes is displayed.
-W cpu=processor_number
If pin=process_identier_number is omitted, writes information about all Guardian
and OSS processes that reside on the processor specied by the processor_number
value. If pin=process_identier_number is also specied, specifying the -W cpu ag
restricts the output to the process with the specied operating system CPU,PIN number
on the specied processor. The processor_number value must be within the range 0
through 15.
-W detail
Displays detailed information about processes.
-W files pid
Displays the absolute pathnames of all loadles used by the process with the OSS pro-
cess identier (PID) specied as pid. Each pathname is marked with its type of loadle
(program, dynamic-link library (DLL), or other library).
-W gpri=Gpriority
Displays information about processes whose execution priority is equal to the Gprior-
ity value. The specied priority is the Guardian priority, where 0 is the minimum and
255 is the maximum. If the specied priority is less than 0 or greater than 255, the
usage message is displayed and the ps command exits in error.
527188-007 Hewlett-Packard Company 739