Strange top(1) output

Oliver Brandmueller ob at e-Gitt.NET
Tue May 10 23:01:22 PDT 2005


Hi.

On Tue, May 10, 2005 at 11:54:59AM -0400, Andre Guibert de Bruet wrote:
> Wasn't the old max length of GECOS 8 chars? Setting it to anything less 
> starts to become too short -- You're better off just outputting the UID.

I vote for removing (or make it optional) the code that measures 
username lengths. I have a system with >90k users (in LDAP) and it takes 
quite some time to find out the longest (just to cut the number down to 
13 afterwards anyway). This even happens with "-u" in the standard top.

After being tired of 10 seconds startup time for top if ifdef'd the code 
in my sourcetree (-STABLE in that case) and everything is fine. Guess 
I'm not the only one to have "a few more" system users...

- Oliver

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany       D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|               Ich bin das Internet. Sowahr ich Gott helfe.               |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |


More information about the freebsd-current mailing list