cvs commit: src/bin/ps keyword.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Feb 6 10:45:25 PST 2005


On Sun, Feb 06, 2005 at 04:34:49PM +0000, Christian S.J. Peron wrote:
+> csjp        2005-02-06 16:34:49 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     bin/ps               keyword.c 
+>   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.
+>   
+>   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?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050206/6c818d23/attachment.bin


More information about the cvs-all mailing list