From owner-cvs-all@FreeBSD.ORG Sun Feb 6 18:45:25 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5313D16A4CE; Sun, 6 Feb 2005 18:45:25 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8D3D43D2D; Sun, 6 Feb 2005 18:45:24 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 9BA63ACAFB; Sun, 6 Feb 2005 19:45:16 +0100 (CET) Date: Sun, 6 Feb 2005 19:45:16 +0100 From: Pawel Jakub Dawidek To: "Christian S.J. Peron" Message-ID: <20050206184516.GB1080@darkness.comp.waw.pl> References: <200502061634.j16GYnuv025551@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <200502061634.j16GYnuv025551@repoman.freebsd.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/ps keyword.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 18:45:25 -0000 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 06, 2005 at 04:34:49PM +0000, Christian S.J. Peron wrote: +> csjp 2005-02-06 16:34:49 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> bin/ps keyword.c=20 +> Log: +> 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. +> =20 +> It should be noted that when 5 digits becomes to small, other +> solutions should be explored such as displaying them in megabytes +> or having ps automatically re-size column widths. Maybe we can use humanize_number(3) here? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCBmW8ForvXbEpPzQRAregAJ9dTvgDW84cvtk4NGn7G34WWnXANwCfYTBO 7CGiYvWJn50z+4IkTUL2GdY= =mbKZ -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--