cvs commit: src/usr.bin/top machine.c
Giorgos Keramidas
keramida at freebsd.org
Mon May 16 08:47:55 PDT 2005
On 2005-05-16 13:15, Giorgos Keramidas <keramida at freebsd.org> wrote:
> If you think that hard-limiting USERNAME to 8 columns is fine, then I'm
> all for it, please commit :-)
Ok, I've tested the same change here too. It seems to work fine (except
for the minor nit of using a statically initialized variable for
something that can be a constant, but top has so many ``buglets''
already that this is not too important).
The version of top that I used on my workstation at work today includes
the following changes:
- Proper trimming of the header to avoid the nasty wraparound of
the header that BDE mentioned.
- Hard-limiting of USERNAME to 8 columns.
- Merged CPU/WCPU columns that can be toggled with 'C'.
The sources for this are available at:
http://people.freebsd.org/~keramida/top-keramida.tgz
The CVS tree where I worked on these changes is available online too, at:
http://serverhive.com/cgi-bin/cvsweb.cgi/freebsd/top/?cvsroot=pcvs
David, do you think you could review and/or commit some of the changes
if I posted the diffs to you?
- Giorgos
More information about the cvs-src
mailing list