1IOSTAT(1M) IOSTAT(1M)
2
3
4
6 iostat - report I/O statistics
7
9 iostat [ option ] ... [ interval [ count ] ]
10
12 Iostat delves into the system and reports certain statistics kept about
13 input-output activity. Information is kept about up to three different
14 disks (RF, RK, RP) and about typewriters. For each disk, IO comple‐
15 tions and number of words transferred are counted; for typewriters col‐
16 lectively, the number of input and output characters are counted.
17 Also, each sixtieth of a second, the state of each disk is examined and
18 a tally is made if the disk is active. The tally goes into one of four
19 categories, depending on whether the system is executing in user mode,
20 in `nice' (background) user mode, in system mode, or idle. From all
21 these numbers and from the known transfer rates of the devices it is
22 possible to determine information such as the degree of IO overlap and
23 average seek times for each device.
24
25 The optional interval argument causes iostat to report once each inter‐
26 val seconds. The first report is for all time since a reboot and each
27 subsequent report is for the last interval only.
28
29 The optional count argument restricts the number of reports.
30
31 With no option argument iostat reports for each disk the number of
32 transfers per minute, the milliseconds per average seek, and the mil‐
33 liseconds per data transfer exclusive of seek time. It also gives the
34 percentage of time the system has spend in each of the four categories
35 mentioned above.
36
37 The following options are available:
38
39 -t Report the number of characters of terminal IO per second as
40 well.
41
42 -i Report the percentage of time spend in each of the four cate‐
43 gories mentioned above, the percentage of time each disk was
44 active (seeking or transferring), the percentage of time any
45 disk was active, and the percentage of time spent in `IO wait:'
46 idle, but with a disk active.
47
48 -s Report the raw timing information: 32 numbers indicating the
49 percentage of time spent in each of the possible configurations
50 of 4 system states and 8 IO states (3 disks each active or not).
51
52 -b Report on the usage of IO buffers.
53
55 /dev/mem, /unix
56
57
58
59 IOSTAT(1M)