cvs commit: src/bin/ps keyword.c print.c ps.h
Tim Robbins
tjr at FreeBSD.ORG
Tue Apr 15 01:48:26 PDT 2003
On Tue, Apr 15, 2003 at 02:36:07PM +0930, Greg 'groggy' Lehey wrote:
> On Saturday, 12 April 2003 at 3:39:56 -0700, Tim J. Robbins wrote:
> > tjr 2003/04/12 03:39:56 PDT
> >
> > FreeBSD src repository
> >
> > Modified files:
> > bin/ps keyword.c print.c ps.h
> > Log:
> > Display residency and sleep times (re and sl fields) larger than 127 as 127.
> > This is what the manual page says ps should do, and what OpenBSD and NetBSD do.
>
> Why is this a Good Thing?
Two reasons: it makes the output of "ps -v" less ugly, and it makes the code
consistent with the documentation. It's a waste of information though. What do
you suggest instead? Dynamically resizing the column width to fit the number
would be one alternative.
Tim
More information about the cvs-src
mailing list