From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 1 14:54:13 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97BB716A41B for ; Fri, 1 Feb 2008 14:54:13 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8BD13C459 for ; Fri, 1 Feb 2008 14:54:13 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 214121CE71; Fri, 1 Feb 2008 15:54:12 +0100 (CET) Date: Fri, 1 Feb 2008 15:54:12 +0100 From: Ed Schouten To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20080201145412.GF67081@hoeg.nl> References: <86k5lovrwj.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dNAMVNv5nvnU4ZiI" Content-Disposition: inline In-Reply-To: <86k5lovrwj.fsf@ds4.des.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: hackers@freebsd.org Subject: Re: vmstat layout X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 14:54:13 -0000 --dNAMVNv5nvnU4ZiI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dag-Erling Sm=F8rgrav wrote: > vmstat(1) tries very hard to fit everything in 80 columns. >=20 > Unfortunately, it's been years since anyone had a machine where none of > the columns overflowed. >=20 > The recent addition of -h helps with the avm and fre columns, but on a > busy system (e.g. a Varnish server on a busy web site), pretty much > every single column will overflow. If you have disks with names longer > than three letters, even the two header lines will be misaligned! >=20 > Here's an example from a mostly idle machine: >=20 > procs memory page disks = faults cpu > r b w avm fre flt re pi po fr sr ad0 ad1 ad2 ad3 ad10 ad= 12 in sy cs us sy id > 2 1 0 193M 1015M 444 2 8 0 4862 0 0 0 0 0 0 0= 348 1297 4704 1 7 92 >=20 > Removing columns is not an acceptable solution (it would break too many > existing scripts), so I'm afraid we're going to have to make the output > wider than 80 columns, unless someone can come up with a better solution. What about flipping the rows and columns? That will also give us more space to add better descriptions. --=20 Ed Schouten WWW: http://g-rave.nl/ --dNAMVNv5nvnU4ZiI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkejMpMACgkQ52SDGA2eCwVUWwCdFsRA66G+/2/xhvkIjvCfkp4V orgAn2KrvjrviPu/UO0IvqzQH9c26rxN =cSGN -----END PGP SIGNATURE----- --dNAMVNv5nvnU4ZiI--