From owner-cvs-src@FreeBSD.ORG Mon Feb 7 22:54:51 2005 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 2DF6C16A4CE; Mon, 7 Feb 2005 22:54:51 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9622543D31; Mon, 7 Feb 2005 22:54:49 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id B26CE85640; Tue, 8 Feb 2005 09:24:47 +1030 (CST) Date: Tue, 8 Feb 2005 09:24:47 +1030 From: Greg 'groggy' Lehey To: Peter Jeremy Message-ID: <20050207225447.GS49637@wantadilla.lemis.com> References: <200502061634.j16GYnuv025551@repoman.freebsd.org> <20050206184516.GB1080@darkness.comp.waw.pl> <20050207081054.GA57554@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eHrxbAcqt/LxKPZN" Content-Disposition: inline In-Reply-To: <20050207081054.GA57554@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Pawel Jakub Dawidek cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/bin/ps keyword.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, 07 Feb 2005 22:54:51 -0000 --eHrxbAcqt/LxKPZN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 7 February 2005 at 19:10:54 +1100, Peter Jeremy wrote: > On Sun, 2005-Feb-06 19:45:16 +0100, Pawel Jakub Dawidek wrote: >> On Sun, Feb 06, 2005 at 04:34:49PM +0000, Christian S.J. Peron wrote: >> +> Since it is not un-common for a process's resident set size (rss) >> +> to exceed 10 megabytes in size (especially in X), bump the max >> +> column width from 4 bytes to 5. This will make the ps auxw output >> +> uniform again when a process's rss exceeds 10 megs. >> >> Maybe we can use humanize_number(3) here? > > Please ensure that if you do use humanize_number(3), there is a way of > getting rss and vsz values in fixed units. Tru64 switches between MB > and GB is ps output (which can't be disabled). I regularly need to > look at processes by size and it's very annoying to have 2.5GB and > 2.5MB processes mixed together. Agreed. I'd rather have overflowing columns than "humanized" stuff that I find difficult to read. Greg -- See complete headers for address and phone numbers. --eHrxbAcqt/LxKPZN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCB/G3IubykFB6QiMRAjGhAJ9QQzMkDXYDg7rPkCe6q1vSfIw6zwCfd0fo vB6w6jWiX7o2gdEVisT6xtE= =kdyE -----END PGP SIGNATURE----- --eHrxbAcqt/LxKPZN--