View | Details | Raw Unified | Return to bug 153012 | Differences between
and this patch

Collapse All | Expand All

(-)b/usr.sbin/iostat/iostat.8 (-12 / +36 lines)
Lines 85-92 The Link Here
85
utility displays kernel
85
utility displays kernel
86
.Tn I/O
86
.Tn I/O
87
statistics on terminal, device and cpu operations.
87
statistics on terminal, device and cpu operations.
88
The first statistics that are printed are averaged over the system uptime.
88
The first statistics that are printed are averaged over the system uptime
89
To get information about the current activity, a suitable wait time should
89
(unless
90
.Fl I
91
is specified).
92
Any references to repetitions in this man page implicitly include the first
93
statistics output.
94
To get information about the ongoing activity, a suitable wait time should
90
be specified, so that the subsequent sets of printed statistics will be
95
be specified, so that the subsequent sets of printed statistics will be
91
averaged over that time.
96
averaged over that time.
92
.Pp
97
.Pp
Lines 96-109 The options are as follows: Link Here
96
Repeat the display
101
Repeat the display
97
.Ar count
102
.Ar count
98
times.
103
times.
99
If no repeat
104
If
100
.Ar count
105
.Ar count
101
is specified, the default depends on whether
106
is not specified and a
102
.Fl w
107
.Ar wait
103
is specified.
108
interval is specified, the default repeat count is infinity.
104
With
109
If no
105
.Fl w
110
.Ar wait
106
the default repeat count is infinity, otherwise it is 1.
111
interval is specified, the default repeat count is 1.
107
.It Fl C
112
.It Fl C
108
Display CPU statistics.
113
Display CPU statistics.
109
This is on by default, unless
114
This is on by default, unless
Lines 132-138 per measurement cycle. Link Here
132
Display total statistics for a given time period, rather than average
137
Display total statistics for a given time period, rather than average
133
statistics for each second during that time period.
138
statistics for each second during that time period.
134
.It Fl K
139
.It Fl K
135
In the blocks transferred display (-o), display block count in kilobytes rather
140
In the blocks transferred display
141
.Pq Fl o ,
142
display block count in kilobytes rather
136
then the device native block size.
143
then the device native block size.
137
.It Fl M
144
.It Fl M
138
Extract values associated with the name list from the specified core
145
Extract values associated with the name list from the specified core
Lines 241-249 is specified. Link Here
241
Pause
248
Pause
242
.Ar wait
249
.Ar wait
243
seconds between each display.
250
seconds between each display.
244
If no
251
If
245
.Ar wait
252
.Ar wait
246
interval is specified, the default is 1 second.
253
is not specified, the default interval is 1 second.
247
.Pp
254
.Pp
248
The
255
The
249
.Nm
256
.Nm
Lines 487-489 The use of Link Here
487
as a debugging tool for crash dumps is probably limited because there is
494
as a debugging tool for crash dumps is probably limited because there is
488
currently no way to get statistics that only cover the time immediately before
495
currently no way to get statistics that only cover the time immediately before
489
the crash.
496
the crash.
497
.Pp
498
Each
499
.Ar drives
500
argument is passed to
501
.Fn isdigit .
502
If
503
.Fn isdigit
504
returns true,
505
.Nm
506
switches into an undocumented traditional syntax and subsequent arguments,
507
if any, will not be interpreted as drive names.
508
This behavior collides with the one documented in this man page and prevents
509
specifying drive names starting with a number.
510
E.g., the following
511
.Bd -literal -offset indent
512
iostat ada0 ada1 2 3 cd0
513
.Ed

Return to bug 153012