From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 9 01:40:04 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BF791065672 for ; Fri, 9 Sep 2011 01:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C52A8FC15 for ; Fri, 9 Sep 2011 01:40:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p891e4Gt083325 for ; Fri, 9 Sep 2011 01:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p891e4ic083322; Fri, 9 Sep 2011 01:40:04 GMT (envelope-from gnats) Date: Fri, 9 Sep 2011 01:40:04 GMT Message-Id: <201109090140.p891e4ic083322@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ed Maste Cc: Subject: Re: bin/30360: vmstat(8) returns impossible data X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Maste List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 01:40:04 -0000 The following reply was made to PR bin/30360; it has been noted by GNATS. From: Ed Maste To: 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)