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 flag and its options are HP extensions to the ps command. They write information about
Guardian and OSS processes.
The -W flag can only be specified with the -W options. It cannot be specified with the other ps
command flags. When the -W flag is is used with other flags, the usage message is displayed and
ps exits in error.
Information displayed by the -W flag is formatted using Guardian environment display conven-
tions, rather than UNIX conventions.
When none of the -W flags are used (or when no other options are used with them), only OSS
processes are candidates for display.
When the -W flag and its options are used, all processes (both OSS and Guardian) are candidates
for display.
All flag options used with the -W flag 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 flag is specified 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 specified, only information about the matching subset of Guar-
dian and OSS processes is displayed.
-W cpu=processor_number
If pin=process_identifier_number is omitted, writes information about all Guardian
and OSS processes that reside on the processor specified by the processor_number
value. If pin=process_identifier_number is also specified, specifying the -W cpu flag
restricts the output to the process with the specified operating system CPU,PIN number
on the specified 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 loadfiles used by the process with the OSS pro-
cess identifier (PID) specified as pid. Each pathname is marked with its type of loadfile
(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 specified priority is the Guardian priority, where 0 is the minimum and
255 is the maximum. If the specified 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 7−39