Re: Strange top(1) output

From: Oliver Brandmueller <ob_at_e-Gitt.NET>
Date: Wed, 11 May 2005 08:01:20 +0200
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! |
Received on Wed May 11 2005 - 04:01:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC