Date: Fri, 18 Jan 2008 14:10:33 -0800 From: "Peter Wemm" <peter@wemm.org> To: "Pieter de Goeje" <pieter@degoeje.nl> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/vmstat Makefile vmstat.8 vmstat.c Message-ID: <e7db6d980801181410s4d4019c6sc090e26b00a6bad2@mail.gmail.com> In-Reply-To: <200801182142.35019.pieter@degoeje.nl> References: <200712130236.lBD2aCWP029948@repoman.freebsd.org> <200801182142.35019.pieter@degoeje.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 18, 2008 12:42 PM, Pieter de Goeje <pieter@degoeje.nl> wrote: > > On Thursday 13 December 2007, Peter Wemm wrote: > > 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 > > I noticed vmstat dumps stats from all kern.smp.maxcpus CPUs on screen when > using -P. Attached patch fixes the problem. > > Cheers, > Pieter de Goeje > Committed as rev 1.100 of vmstat.c.. Thanks! -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7db6d980801181410s4d4019c6sc090e26b00a6bad2>