1 .\" $NetBSD: iostat.8,v 1.21 2003/05/01 15:29:24 wiz Exp $
3 .\" Copyright (c) 1985, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" from: @(#)iostat.8 8.1 (Berkeley) 6/6/93
52 statistics on terminal, disk and CPU operations.
55 displays one line of statistics averaged over the machine's run time.
58 presents successive lines averaged over the
65 to print raw, unaveraged values.
67 Only the last disk option specified
74 The options are as follows:
75 .Bl -tag -width XNXsystemX
82 flag is in effect, the first display is for the time since a reboot and
83 each subsequent report is for the time period since the last display.
86 interval is specified, the default is 1 second.
89 This is enabled by default unless the
99 Displays kilobytes per
100 transfer, number of transfers, and megabytes transferred.
101 Use of this flag disables display of CPU and tty statistics.
103 Show alternative disk statistics.
104 Displays kilobytes transferred, number of
105 transfers, and time spent in transfers.
106 Use of this flag disables the default display.
108 Show the running total values, rather than an average.
110 Extract values associated with the name list from the specified core
111 instead of the default
114 Extract the name list from the specified system instead of the default
118 This is enabled by default unless the
127 seconds between each display.
130 is specified, the default is infinity.
132 Show extended disk statistics.
133 Each disk is displayed on a line of its own with all available
135 This option overrides all other display options, and all
136 disks are displayed unless specific disks
137 are provided as arguments.
138 Additionally, separate read and write statistics are displayed.
142 displays its information in the following format:
145 .Bl -tag -width indent -compact
147 characters read from terminals
149 characters written to terminals
153 The header of the field is the disk name and unit number.
154 If more than four disk drives are configured in the system,
156 displays only the first four drives.
159 to display specific drives, their names may be supplied on the command
162 .Bl -tag -width indent -compact
164 Kilobytes transferred per disk transfer
168 Megabytes transferred per second
171 The alternative display format, (selected with
173 presents the following values.
174 .Bl -tag -width indent -compact
176 Kilobytes transferred
180 Seconds spent in disk activity
183 .Bl -tag -width indent -compact
185 % of CPU time in user mode
187 % of CPU time in user mode running niced processes
189 % of CPU time in system mode
191 % of CPU time in idle mode
195 .Bl -tag -width /dev/mem -compact
197 Default kernel namelist.
210 The sections starting with ``Interpreting system activity'' in
211 .%T "Installing and Operating 4.3BSD" .