From owner-cvs-src@FreeBSD.ORG Mon Oct 20 13:20:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4629616A4B3; Mon, 20 Oct 2003 13:20:12 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9A7743FDF; Mon, 20 Oct 2003 13:20:08 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id h9KKK6v6001626; Mon, 20 Oct 2003 22:20:06 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 20 Oct 2003 13:13:51 PDT." <200310202013.h9KKDpnr086806@repoman.freebsd.org> Date: Mon, 20 Oct 2003 22:20:06 +0200 Message-ID: <1625.1066681206@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/systat devs.c vmstat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 20:20:12 -0000 In message <200310202013.h9KKDpnr086806@repoman.freebsd.org>, Poul-Henning Kamp writes: >phk 2003/10/20 13:13:51 PDT > > FreeBSD src repository > > Modified files: > usr.bin/systat devs.c vmstat.c > Log: > When a numeric field overflows its width, try formatting the number in > 'kilo' or 'mega' with appropriate suffix instead of filling the field > with stars. I'm impressed that today we have hardware which needs this... Proc:r p d s w Csw Trp Sys Int Sof Flt cow 231 total 1 1 24 23654 2 377K 33311788 91592 wire stray 0 Opteron 240, single-CPU, running: dd bs=512k count=100000 < /dev/zero | cat > /dev/null -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.