Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2011 01:40:04 GMT
From:      Ed Maste <emaste@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/30360: vmstat(8) returns impossible data
Message-ID:  <201109090140.p891e4ic083322@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/30360; it has been noted by GNATS.

From: Ed Maste <emaste@freebsd.org>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: bin/30360: vmstat(8) returns impossible data
Date: Thu, 8 Sep 2011 21:27:13 -0400

 See also the thread at
 http://lists.freebsd.org/pipermail/freebsd-current/2010-October/020564.html
 
 A suggestion from one of the followups:
 
 > I'd be very happy if all vmstat and iostat would get a command line
 > switch to suppress the "summary since last reboot" line.
 > This information may be useful for some cases but in other cases, like
 > creating performance data for monitoring systems like Icinga / Nagios
 > one has to remove the first line(s) manually.
 
 Adding this mode would solve the problem for non-interactive use of
 vmstat (in that overflow doesn't matter for the delta between two
 samples), but will leave the bogus data in the normal case.
 
 Maybe -q (quiet) could suppress the header and another -q could
 suppress also the first line?  So vmstat -qq -w 1 -c 2 would provide
 just the one delta summary line after one second.
 
 (For reference, spare flags on vmstat and iostat seem to be
 b e g j l q r u v y)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109090140.p891e4ic083322>