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

ps(1) OSS Shell and Utilities Reference Manual
Standard Output
When the -o and -W ags are not specied, the standard output format is as follows:
The column headings and descriptions of the columns in a ps listing are described
The letters f and l indicate the ag (full or long) that causes the corresponding heading to
appear
The suboption all species that the heading always appears
The -o option allows the output format to be specied by the user. The format specication must
be a list of names presented as a single argument, with the names separated by a space or a
comma. Each variable has a default header that is displayed. The default header can be
overwritten by appending an equal sign and the new text of the header to the default header. The
characters in the argument following the equal sign are used as the header text. The elds are
written in the order specied on the command line and are arranged in columns in the output.
The eld widths are selected automatically and are at least as wide as the header text. If all the
header text elds are null, no header line is written.
The following names are recognized in the OSS environment:
args The command being executed with all of its arguments. The display is a string. The
string is not truncated to match the eld width length. However, the string is truncated
if it wraps around the screen. The string is the argument list that was passed to the
command when it was started. Any modications that a process might do to its argu-
ment list are not reected in the output of the ps command.
comm The name of the command being executed, displayed as a string. The name is truncated
in the display if its value is larger than 80 bytes.
etime The elapsed time since the process was started. The value is displayed in the form
[[dd-]hh:]mm:ss, where dd represents the number of days, hh represents the number of
hours, mm represents the number of minutes, and ss represents the number of seconds.
The dd eld is a decimal integer. The hh, mm, and ss elds are two-digit decimal
integers padded on the left with zeros.
group The effective group ID of the process. This is the textual group ID.
nice The decimal value of the system scheduling priority of the process.
pcpu The ratio of the processor time used recently to the available processor time during the
same period. The value is expressed as a percentage. The meanings of "recently" and
"processor time" are implementation-dened. This eld has no meaning in the Guar-
dian or OSS environments, and a hyphen is displayed instead of the eld value.
pgid The decimal value of the process group ID.
pid The decimal value of the process ID.
ppid The decimal value of the parent process ID.
rgroup The real group ID of the process. This is the textual group ID.
ruser The real user ID of the process. This is the textual user ID.
742 Hewlett-Packard Company 527188-007