svn commit: r215425 - head/usr.sbin/iostat

Alexander Best arundel at freebsd.org
Wed Nov 17 17:59:01 UTC 2010


On Wed Nov 17 10, Ivan Voras wrote:
> Author: ivoras
> Date: Wed Nov 17 15:12:10 2010
> New Revision: 215425
> URL: http://svn.freebsd.org/changeset/base/215425
> 
> Log:
>   Change "wait" banner to "qlen" to be more indicative of its purpose and to
>   be more inline with what gstat uses.

any thoughts on this manual page change?

cheers.
alex

>   
>   Reviewed by:	gnn
>   Silence from:	phk, keramida
> 
> Modified:
>   head/usr.sbin/iostat/iostat.8
>   head/usr.sbin/iostat/iostat.c
> 
> Modified: head/usr.sbin/iostat/iostat.8
> ==============================================================================
> --- head/usr.sbin/iostat/iostat.8	Wed Nov 17 13:52:09 2010	(r215424)
> +++ head/usr.sbin/iostat/iostat.8	Wed Nov 17 15:12:10 2010	(r215425)
> @@ -348,7 +348,7 @@ write operations per second
>  kilobytes read per second
>  .It kw/s
>  kilobytes write per second
> -.It wait
> +.It qlen
>  transactions queue length
>  .It svc_t
>  average duration of transactions, in milliseconds
> 
> Modified: head/usr.sbin/iostat/iostat.c
> ==============================================================================
> --- head/usr.sbin/iostat/iostat.c	Wed Nov 17 13:52:09 2010	(r215424)
> +++ head/usr.sbin/iostat/iostat.c	Wed Nov 17 15:12:10 2010	(r215425)
> @@ -750,11 +750,11 @@ devstats(int perf_select, long double et
>  		printf("\n");
>  		if (Iflag == 0)
>  			printf(
> -		"device     r/s   w/s    kr/s    kw/s wait svc_t  %%b  "
> +		"device     r/s   w/s    kr/s    kw/s qlen svc_t  %%b  "
>  			    );
>  		else
>  			printf(
> -		"device     r/i   w/i    kr/i    kw/i wait svc_t  %%b  "
> +		"device     r/i   w/i    kr/i    kw/i qlen svc_t  %%b  "
>  			    );
>  		if (Tflag > 0)
>  			printf("tin  tout ");

-- 
a13x
-------------- next part --------------
diff --git a/usr.sbin/iostat/iostat.8 b/usr.sbin/iostat/iostat.8
index 6a9ef02..3b03acc 100644
--- a/usr.sbin/iostat/iostat.8
+++ b/usr.sbin/iostat/iostat.8
@@ -60,7 +60,7 @@
 .\"
 .\"	@(#)iostat.8	8.1 (Berkeley) 6/6/93
 .\"
-.Dd April 17, 2006
+.Dd November 17, 2010
 .Dt IOSTAT 8
 .Os
 .Sh NAME
@@ -102,11 +102,15 @@ Repeat the display
 times.
 If no repeat
 .Ar count
-is specified, the default is infinity.
+is specified, and
+.Fl w
+is specified, the default is infinity, otherwise the default is one.
 .It Fl C
 Display CPU statistics.
 This is on by default, unless
 .Fl d
+or
+.Fl x
 is specified.
 .It Fl d
 Display only device statistics.
@@ -231,6 +235,8 @@ output, up to the number of devices that can be displayed in
 Display TTY statistics.
 This is on by default, unless
 .Fl d
+or
+.Fl x
 is specified.
 .It Fl w
 Pause


More information about the svn-src-all mailing list