Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 19:45:16 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Christian S.J. Peron" <csjp@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ps keyword.c
Message-ID:  <20050206184516.GB1080@darkness.comp.waw.pl>
In-Reply-To: <200502061634.j16GYnuv025551@repoman.freebsd.org>
References:  <200502061634.j16GYnuv025551@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050206184516.GB1080>