HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
sar(1M) sar(1M)
disk3 − SCSI and NIO FL disks
sdisk − SCSI disks;
%busy Portion of time device was busy servicing a request;
avque Average number of requests outstanding for the device;
r+w/s Number of data transfers per second (read and writes) from and to the dev-
ice;
blks/s Number of bytes transferred (in 512-byte units) from and to the device;
avwait Average time (in milliseconds) that transfer requests waited idly on queue
for the device;
avserv Average time (in milliseconds) to service each transfer request (includes
seek, rotational latency, and data transfer times) for the device.
-y Report tty device activity:
rawch/s Raw input characters per second;
canch/s Input characters per second processed by canon();
outch/s Output characters per second;
rcvin/s Receive incoming character interrupts per second;
xmtin/s Transmit outgoing character interrupts per second;
mdmin/s Modem interrupt rate (not supported; always 0).
-c Report system calls:
scall/s Number of system calls of all types per second;
sread/s Number of read() and/or readv() system calls per second;
swrit/s Number of write() and/or writev() system calls per second;
fork/s Number of fork() and/or vfork() system calls per second;
exec/s Number of exec() system calls per second;
rchar/s Number of characters transferred by read system calls block devices only)
per second;
wchar/s Number of characters transferred by write system calls (block devices only)
per second.
-w Report system swapping and switching activity:
swpin/s Number of process swapins per second;
swpot/s Number of process swapouts per second;
bswin/s Number of 512-byte units transferred for swapins per second;
bswot/s Number of 512-byte units transferred for swapouts per second;
pswch/s Number of process context switches per second.
-a Report use of file access system routines:
iget/s Number of file system iget() calls per second;
namei/s Number of file system lookuppn() (pathname translation) calls per
second;
dirblk/s Number of file system blocks read per second doing directory lookup.
-q Report average queue length while occupied, and percent of time occupied. On a multi-
processor machine, if the -M option is used together with the -q option, the per-CPU run
queue as well as the average run queue of all the active processors are reported. If the -M
option is not used, only the average run queue information of all the active processors is
reported. In a multi-processor pset configured system if the -M option is used with the option
-P then pset column will will be displayed before cpu column:
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 287