manual page distributed with 4.2BSD
[unix-history] / usr / src / usr.sbin / iostat / iostat.8
CommitLineData
3a672b8e
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
df667069 5.\" @(#)iostat.8 5.1 (Berkeley) %G%
3a672b8e 6.\"
df667069 7.TH IOSTAT 1 "18 January 1983"
3a672b8e
KM
8.UC 4
9.SH NAME
10iostat \- report I/O statistics
11.SH SYNOPSIS
12.B iostat
13[ interval [ count ] ]
14.SH DESCRIPTION
15.I Iostat
16iteratively reports the number of characters read and written to terminals,
df667069
KM
17and, for each disk, the number of seeks transfers per second, kilobytes
18transfered per second,
3a672b8e
KM
19and the milliseconds per average seek.
20It also gives the percentage of time the system has
21spent in user mode, in user mode running low priority (niced) processes,
22in system mode, and idling.
23.PP
24To compute this information, for each disk, seeks and data transfer completions
25and number of words transferred are counted;
26for terminals collectively, the number
27of input and output characters are counted.
28Also, each sixtieth of a second,
29the state of each disk is examined
30and a tally is made if the disk is active.
31From these numbers and given the transfer rates
32of the devices it is possible to determine
33average seek times for each device.
34.PP
35The optional
36.I interval
37argument causes
38.I iostat
39to report once each
40.I interval
41seconds.
42The first report is for all time since a reboot and each
43subsequent report is for the last interval only.
44.PP
45The optional
46.I count
47argument restricts the number of reports.
48.SH FILES
49/dev/kmem
df667069 50.br
3a672b8e
KM
51/vmunix
52.SH SEE ALSO
53vmstat(1)