HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
s
sar(1M) sar(1M)
cpu cpu number (only on a multi-processor system and used with the
-M
option)
runq-sz Average length of the run queue(s) of processes (in memory and runnable);
%runocc The percentage of time the run queue(s) were occupied by processes (in
memory and runnable);
swpq-sz Average length of the swap queue of runnable processes (processes swapped
out but ready to run). This column will not be displayed when
-p option is
used to display a particular ProcessorSet (pset) information in a pset
configured system.
%swpocc The percentage of time the swap queue of runnable processes (processes
swapped out but ready to run) was occupied. This column will not be
displayed when
-p option is used to display a particular ProcessorSet (pset)
information in a pset configured system.
-v Report status of text, process, inode and file tables:
text-sz (Not Applicable);
proc-sz The current-size and maximum-size of the process table;
inod-sz The current-size and maximum-size of the inode table (inode cache);
file-sz The current-size and maximum-size of the system file table;
text-ov (Not Applicable);
proc-ov The number of times the process table overflowed (number of times the
kernel could not find any available process table entries) between sample
points;
inod-ov The number of times the inode table (inode cache) overflowed (number of
times the kernel could not find any available inode table entries) between
sample points;
file-ov The number of times the system file table overflowed (number of times the
kernel could not find any available file table entries) between sample
points.
-m Report message and semaphore activities:
msg/s Number of System V msgrcv() calls per second;
sema/s Number of System V semop() calls per second;
select/s Number of System V select() calls per second. This value will only be
reported if the "-S" option is also explicitly specified.
-p Report the specified ProcessorSet (pset) information. This option should be used with
-u or -q
option.
-A Report all data. Equivalent to -udqbwcayvm .
-M Report the per-processor data on a multi-processor system when used with
-q and/or -u
options. If the -M option is not used on a multi-processor system, the output format of the -u
and -q options is the same as the uni-processor output format and the data reported is the
average value of all the active processors.
-P Report ProcessorSet (pset) information, mapping to the processor in the system or the specified
pset. This option can only be used with -M and -q,or-M and -u options. It can also be com-
bined with -p option to display information for a particular pset. If system is not pset
configured it will display a warning message.
EXAMPLES
Watch CPU activity evolve for 5 seconds:
sar 1 5
Watch CPU activity evolve for 10 minutes and save data:
Section 1M−−806 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005