Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
ps(1) OSS Shell and Utilities Reference Manual
-A Writes information about all processes.
-d Writes information about all processes, except the process group leaders, to the stan-
dard output file.
-e Writes information about all processes to the standard output file.
-f Generates a full listing that includes the fields C, CMD, PID, PPID, STIME, TIME,
TTY, and UID.
-G grouplist
Writes information for processes whose real group ID numbers are given in the
grouplist option. The grouplist is a list of process-group identifiers separated from one
another by a comma or one or more spaces.
-l Generates a long listing, which includes the fields ADDR, C, CMD, F, NI, PID, PPID,
PRI, S, SZ, TIME, TTY, UID, and WCHAN.
-n namelist
Specifies the name of an alternative system namelist file in place of the default file.
Note that the concept of an alternative system is meaningless in the Guardian or OSS
environment. As a result, any argument is accepted for namelist. The -n flag is thus
the equivalent of a noop, and -n is ignored by the ps utility. Nevertheless, the require-
ment to specify an argument to -n is enforced.
-o format
Specifies a list of format specifiers to describe the output format. Multiple -o flags can
be specified; the format specification is interpreted as the concatenation of all the for-
mat options.
-p proclist
Displays only information about processes whose process numbers are specified in the
proclist argument. The proclist argument is either a list of process ID numbers or a list
of process ID numbers enclosed in ""(double quotes) and separated from one another
by a comma or a space.
-t termlist
Displays only information about processes associated with the terminals listed in the
termlist argument. The termlist argument is a list of terminal identifiers or a list of ter-
minal identifiers separated from one another by a comma or one or more spaces.
Terminal identifiers must be in one of two forms:
• The device’s filename
• The device’s digit identifier, if the device’s filename begins with tty
-u userlist
Displays only information about processes whose user ID numbers or login names are
specified 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.
In the listing, the numerical user ID is written unless the -f flag is used, in which case
the login name is written.
7−38 Hewlett-Packard Company 527188-004