Home | History | Annotate | Line # | Download | only in iostat
iostat.8 revision 1.3
 Copyright (c) 1985, 1991 The Regents of the University of California.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

@(#)iostat.8 6.8 (Berkeley) 4/24/91

IOSTAT 8 "April 24, 1991"
C 4
NAME
iostat - report I/O statistics
SYNOPSIS
iostat [ -c count ] [ -M core ] [ -N system ]
[ -w wait ] [ drives ]
DESCRIPTION
Iostat reports certain kernel statistics kept about terminal, disk and cpu activity.

The options are as follows:

-c Repeat the display count times. The first display is for the time since a reboot and each subsequent report is for the time period since the last display. If no wait interval is specified, the default is 1 second.

-M Extract values associated with the name list from the specified core instead of the default ``/dev/kmem''.

-N Extract the name list from the specified system instead of the default ``/netbsd''.

-w Pause wait seconds between each display. If no repeat count is specified, the default is infinity.

Iostat displays its information in the following format:

tty



tin characters read from terminals
tout characters written to terminals


disks Disk operations (this field is system dependent). The header of the field is the disk name and unit number. If more than four disk drives are configured in the system, iostat displays only the first four drives. To force iostat to display specific drives, their names may be supplied on the command line.



sps sectors transferred per second
tps transfers per second
msps milliseconds per average seek (including implied
 seeks and rotational latency)


cpu



us % of cpu time in user mode
ni % of cpu time in user mode running niced processes
sy % of cpu time in system mode
id % of cpu time in idle mode


FILES
/dev/kmem default memory file /netbsd default kernel namelist
SEE ALSO
fstat (1), netstat (1), nfsstat (1), ps (1), systat (1), vmstat (1), pstat (8) The sections starting with ``Interpreting system activity'' in "Installing and Operating 4.3BSD" .