HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
p
ps(1) ps(1)
• A list of identifiers separated from one another by a comma.
• A list of identifiers enclosed in quotation marks (") and separated from one another by a comma
and/or one or more spaces.
Output Format Options
Use the following options to control which columns of data are included in the output listing. The options
are cumulative.
(none) The default columns are: pid, tty, time, and comm, in that order.
-f Show columns user, pid, ppid, cpu, stime, tty, time, and args, in that
order.
-l Show columns flags, state, uid, pid, ppid, cpu, intpri, nice, addr, sz,
wchan, tty, time, and comm, in that order.
-fl Show columns flags, state, user, pid, ppid, cpu, intpri, nice, addr,
sz, wchan, stime, tty, time, and args, in that order.
-c (XPG4 Only.) Remove columns cpu and
nice; replace column intpri with
columns
cls and pri.
-j (XPG4 Only.) Add columns pgid and sid after column ppid (or pid,ifppid is
not being displayed).
-P Add column prmid (for -l)orprmgrp (for -f or -fl) immediately before column
pid. See DEPENDENCIES.
-o format (XPG4 Only.) format is a comma- or space-separated list of the columns to display, in
the order they should be displayed. (Valid column names are listed below.) A column
name can optionally be followed by an equals sign (=) and a string to use as the head-
ing for that column. (Any commas or spaces after the equals sign will be taken as a
part of the column heading; if more columns are desired, they must be specified with
additional -o options.) The width of the column will be the greater of the width of the
data to be displayed and the width of the column heading. If an empty column head-
ing is specified for every heading, no heading line will be printed. This option over-
rides options -c, -f, -j, -l, and -P; if they are specified, they are ignored.
-H (XPG4 Only.) Shows the process hierarchy. Each process is displayed under its
parent, and the contents of the args or comm column for that process is indented
from that of its parent. Note that this option is expensive in both memory and speed.
The column names and their meanings are given below. Except where noted, the default heading for each
column is the uppercase form of the column name.
addr The memory address of the process, if resident; otherwise, the disk address.
args The command line given when the process was created. This column should be the
last one specified, if it is desired. Only a subset of the command line is saved by the
kernel; as much of the command line will be displayed as is available. The output in
this column may contain spaces. The default heading for this column is COMMAND if
-o is specified and CMD otherwise.
cls Process scheduling class, see rtsched(1).
comm The command name. The output in this column may contain spaces. The default
heading for this column is COMMAND if -o is specified and CMD otherwise.
cpu Processor utilization for scheduling. The default heading for this column is C.
etime Elapsed time of the process. The default heading for this column is ELAPSED.
flags Flags (octal and additive) associated with the process:
0 Swapped
1 In core
2 System process
4 Locked in core (e.g., for physical I/O)
10 Being traced by another process
20 Another tracing flag
Section 1−−750 − 2 − HP-UX Release 11i: December 2000
___
___