bin/30360: vmstat(8) returns impossible data
Ed Maste
emaste at freebsd.org
Fri Sep 9 01:40:04 UTC 2011
The following reply was made to PR bin/30360; it has been noted by GNATS.
From: Ed Maste <emaste at freebsd.org>
To: <bug-followup at 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)
More information about the freebsd-bugs
mailing list