Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 18:48:15 +1000
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ps keyword.c print.c ps.h
Message-ID:  <20030415184815.A11784@dilbert.robbins.dropbear.id.au>
In-Reply-To: <20030415050607.GF8718@wantadilla.lemis.com>; from grog@FreeBSD.org on Tue, Apr 15, 2003 at 02:36:07PM %2B0930
References:  <200304121039.h3CAduH7079324@repoman.freebsd.org> <20030415050607.GF8718@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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