Date: Tue, 14 Feb 2006 12:26:51 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/systat vmstat.c Message-ID: <200602141226.k1ECQppa088985@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2006-02-14 12:26:51 UTC FreeBSD src repository Modified files: usr.bin/systat vmstat.c Log: Removed the frobbing of CPU percentages from > 99.9 to 99.9. Rev.1.35 made it unnecessary. (Rev.1.6 had to reduce the field width to 4, and changed 100.0 and preposterous larger values down to 99.9 since 100.0 wouldn't have fitted. Rev.1.35 handles precentages > 99.9 well enough by changing the format to %.0f when the string given by the initial format is too wide.) Even with this change, during short testing I've never seen a percentage of 100 being displayed by systat -v, although top(1) displays percentages of 100 user or 100 idle for similar loads. Revision Changes Path 1.67 +0 -2 src/usr.bin/systat/vmstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602141226.k1ECQppa088985>