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 le.
-e Writes information about all processes to the standard output le.
-f Generates a full listing that includes the elds 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 identiers separated from one
another by a comma or one or more spaces.
-l Generates a long listing, which includes the elds ADDR, C, CMD, F, NI, PID, PPID,
PRI, S, SZ, TIME, TTY, UID, and WCHAN.
-n namelist
Species the name of an alternative system namelist le in place of the default le.
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 ag 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
Species a list of format speciers to describe the output format. Multiple -o ags can
be specied; the format specication is interpreted as the concatenation of all the for-
mat options.
-p proclist
Displays only information about processes whose process numbers are specied 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 identiers or a list of ter-
minal identiers separated from one another by a comma or one or more spaces.
Terminal identiers must be in one of two forms:
The devices lename
The devices digit identier, if the devices lename begins with tty
-u userlist
Displays only information about processes whose user ID numbers or login names are
specied 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 ag is used, in which case
the login name is written.
738 Hewlett-Packard Company 527188-004