From owner-cvs-all@FreeBSD.ORG Thu Dec 13 02:36:12 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56A6116A41A; Thu, 13 Dec 2007 02:36:12 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 40D7F13C45D; Thu, 13 Dec 2007 02:36:12 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBD2aCiO029949; Thu, 13 Dec 2007 02:36:12 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBD2aCWP029948; Thu, 13 Dec 2007 02:36:12 GMT (envelope-from peter) Message-Id: <200712130236.lBD2aCWP029948@repoman.freebsd.org> From: Peter Wemm Date: Thu, 13 Dec 2007 02:36:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/vmstat Makefile vmstat.8 vmstat.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 02:36:12 -0000 peter 2007-12-13 02:36:11 UTC FreeBSD src repository Modified files: usr.bin/vmstat Makefile vmstat.8 vmstat.c Log: Add the -H, -h and -P flags to vmstat. -P causes per-cpu output of user/system/idle stats. -h feeds the memory column through humanize_number() to reduce the amount of column overflowing. -H turns this off. -h is turned on by default if stdout is a tty. Revision Changes Path 1.13 +2 -2 src/usr.bin/vmstat/Makefile 1.37 +9 -1 src/usr.bin/vmstat/vmstat.8 1.99 +196 -17 src/usr.bin/vmstat/vmstat.c