HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

s
sar(1M) sar(1M)
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).
EXAMPLES
Watch CPU activity evolve for 5 seconds:
sar 1 5
Watch CPU activity evolve for 10 minutes and save data:
sar -o temp 60 10
Review disk and tape activity from that period later:
sar -d -f temp
Review cpu utilization on a multi-processor system later:
sar -u -M -f temp
Watch lunpath activity evolve for 5 seconds:
sar -L 1 5
Watch tape activity evolve for 5 seconds:
sar -t 1 5
Watch HBAs activity evolve for 5 seconds:
sar -H 1 5
Watch disk reads and writes per second for 5 seconds:
sar -R -d 1 5
WARNINGS
Users of sar must not rely on the exact field widths and spacing of its output, as these will vary depend-
ing on the system, the release of HP-UX, and the data to be displayed.
The output of sar is unpredictable if a corrupted or wrong data file is given as argument with the
-f
option.
FILES
/var/adm/sa/sadd daily data file, where dd is two digits representing the day of the month.
SEE ALSO
ioscan(1M), sa1(1M), intro(7).
STANDARDS CONFORMANCE
sar: SVID2, SVID3
HP-UX 11i Version 3: February 2007 5 Hewlett-Packard Company 301