.Tn I/O
statistics
.Sh SYNOPSIS
-.Nm
-.Op Fl CdKIoT?\&
+.Nm iostat
+.Op Fl CUdKIoT?\&
.Op Fl c Ar count
.Op Fl n Ar devs
.Op Fl w Ar wait
.Pp
The options are as follows:
.Bl -tag -width flag
+.\" ==========
+.It Fl ?\&
+Display a usage statement and exit.
+.\" ==========
+.It Fl C
+Display CPU statistics.
+This is on by default, unless
+.Fl d
+is specified.
+.\" ==========
.It Fl c
Repeat the display
.Ar count
If no
.Ar wait
interval is specified, the default is 1 second.
-.It Fl C
-Display CPU statistics.
-This is on by default, unless
-.Fl d
-is specified.
+.\" ==========
.It Fl d
Display only device statistics.
If this flag is turned on, only device statistics will be displayed, unless
.Fl C
or
+.Fl U
+or
.Fl T
-is also specfied to enable the display of CPU or TTY statistics.
+is also specfied to enable the display of CPU, load average or TTY statistics.
+.\" ==========
.It Fl I
Display total statstics for a given time period, rather than average
statistics for each second during that time period.
+.\" ==========
.It Fl K
In the blocks transferred display (-o), display block count in kilobytes rather
then the device native block size.
+.\" ==========
.It Fl n
Display up to
.Ar devs
number of devices.
-.Nm
+.Nm iostat
will display fewer devices if there aren't
.Ar devs
devices present.
+.\" ==========
.It Fl o
Display old-style
-.Nm
+.Nm iostat
device statistics.
Sectors per second, transfers per second, and miliseconds per seek are
displayed.
.Fl I
is specified, total blocks/sectors, total transfers, and
miliseconds per seek are displayed.
+.\" ==========
.It Fl T
Display TTY statistics.
This is on by default, unless
.Fl d
is specified.
+.\" ==========
+.It Fl U
+Display system load averages.
+This is on by default, unless
+.Fl d
+is specified.
+.\" ==========
.It Fl w
Pause
.Ar wait
If no repeat
.Ar count
is specified, the default is infinity.
-.It Fl ?\&
-Display a usage statement and exit.
.El
.Pp
.Nm Iostat
.It devices
Device operations.
The header of the field is the device name and unit number.
-.Nm
+.Nm iostat
will display as many devices as will fit in a standard 80 column screen, or
the maximum number of devices in the system, whichever is smaller.
If
.Fl n
is specified on the command line,
-.Nm
+.Nm iostat
will display the smaller of the
requested number of devices, and the maximum number of devices in the system.
To force
-.Nm
+.Nm iostat
to display specific drives, their names may be supplied on the command
line.
-.Nm
+.Nm iostat
will not display more devices than will fit in an 80 column screen, unless
the
.Fl n
devices to display, or the list of specified devices exceeds 80 columns.
If fewer devices are specified on the command line than will fit in an 80
column screen,
-.Nm
+.Nm iostat
will show only the specified devices.
.Pp
The standard
-.Nm
+.Nm iostat
device display shows the following statistics:
.Pp
.Bl -tag -width indent -compact
.El
.Pp
The standard
-.Nm
+.Nm iostat
device display, with the
.Fl I
flag specified, shows the following statistics:
.El
.Pp
The old-style
-.Nm
+.Nm iostat
display (using
.Fl o )
shows the following statistics:
.El
.Pp
The old-style
-.Nm
+.Nm iostat
display, with the
.Fl I
flag specified, shows the following statistics:
.Xr netstat 1 ,
.Xr nfsstat 1 ,
.Xr ps 1 ,
-.Xr pstat 8 ,
+.Xr pstat 8
.Pp
The sections starting with ``Interpreting system activity'' in
.%T "Installing and Operating 4.3BSD" .
.Sh HISTORY
This version of
-.Nm
+.Nm iostat
first appeared in
.Nm FreeBSD 3.0 .