FreeBSD Bugzilla – Attachment 111703 Details for
Bug 153012
[patch] iostat(8) requires an argument to -c option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
iostat.8.diff
iostat.8.diff (text/plain; charset=us-ascii), 1.43 KB, created by
Alexander Best
on 2011-01-30 16:34:49 UTC
(
hide
)
Description:
iostat.8.diff
Filename:
MIME Type:
Creator:
Alexander Best
Created:
2011-01-30 16:34:49 UTC
Size:
1.43 KB
patch
obsolete
>diff --git a/usr.sbin/iostat/iostat.8 b/usr.sbin/iostat/iostat.8 >index d8957ef..a69e499 100644 >--- a/usr.sbin/iostat/iostat.8 >+++ b/usr.sbin/iostat/iostat.8 >@@ -96,14 +96,18 @@ The options are as follows: > Repeat the display > .Ar count > times. >-If no repeat >-.Ar count >-is specified, the default depends on whether >+If the >+.Fl c >+option has not been specified, the default behavior depends on whether > .Fl w >-is specified. >-With >+was specified. >+With the >+.Fl w >+option set it is infinity; without the > .Fl w >-the default repeat count is infinity, otherwise it is 1. >+option set >+.Ar count >+defaults to 1. > .It Fl C > Display CPU statistics. > This is on by default, unless >@@ -241,9 +245,9 @@ is specified. > Pause > .Ar wait > seconds between each display. >-If no >-.Ar wait >-interval is specified, the default is 1 second. >+If the >+.Fl w >+option was not specified, the default interval is 1 second. > .Pp > The > .Nm >@@ -487,3 +491,14 @@ The use of > as a debugging tool for crash dumps is probably limited because there is > currently no way to get statistics that only cover the time immediately before > the crash. >+.Pp >+The >+.Ar drives >+arguments get handed over to >+.Fn isdigit . >+If a non-zero value gets returned for the (N-1)-th and/or N-th argument, >+.Nm >+switches into an undocumented traditional syntax. This behavior collides with >+the one documented in this manual page and prevents >+.Nm >+from operating on devices with an identifier composed only by a number.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 153012
: 111703 |
111704
|
111705
|
111706