BSD 4_1_snap development
[unix-history] / usr / man / man1 / iostat.1
CommitLineData
e3758c96
C
1.TH IOSTAT 1
2.UC 4
3.SH NAME
4iostat \- report I/O statistics
5.SH SYNOPSIS
6.B iostat
7[ interval [ count ] ]
8.SH DESCRIPTION
9.I Iostat
10iteratively reports the number of characters read and written to terminals,
11and, for each disk, the number of seeks and transfers per second,
12and the milliseconds per average seek.
13It also gives the percentage of time the system has
14spent in user mode, in user mode running low priority (niced) processes,
15in system mode, and idling.
16.PP
17To compute this information, for each disk, seeks and data transfer completions
18and number of words transferred are counted;
19for terminals collectively, the number
20of input and output characters are counted.
21Also, each sixtieth of a second,
22the state of each disk is examined
23and a tally is made if the disk is active.
24From these numbers and given the transfer rates
25of the devices it is possible to determine
26average seek times for each device.
27.PP
28The optional
29.I interval
30argument causes
31.I iostat
32to report once each
33.I interval
34seconds.
35The first report is for all time since a reboot and each
36subsequent report is for the last interval only.
37.PP
38The optional
39.I count
40argument restricts the number of reports.
41.SH FILES
42/dev/kmem
43/vmunix
44.SH SEE ALSO
45vmstat(1)