Strange top(1) output
Andre Guibert de Bruet
andy at siliconlandmark.com
Tue May 10 08:55:09 PDT 2005
On Tue, 10 May 2005, Skip Ford wrote:
> Giorgos Keramidas wrote:
>> On 2005-05-10 10:41, Andre Guibert de Bruet <andy at siliconlandmark.com> wrote:
>>> On Tue, 10 May 2005, Skip Ford wrote:
>>>> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU CPU
>>>> COMM
>>>> AND
>>>> 1352 skip 1 96 0 18968K 16276K select 0:21 0.00% 0.00%
>>>> Xor
>>>> 691 skip 1 8 0 4784K 3940K wait 0:08 0.00% 0.00%
>>>> mut
>>>> 684 skip 1 96 0 2336K 1948K select 0:07 0.00% 0.00%
>>>> scr
>>>> 667 root 1 4 0 24268K 23196K accept 0:06 0.00% 0.00%
>>>> per
>>>> 580 root 1 20 0 22896K 21948K pause 0:04 0.00% 0.00%
>>>> per
>>>> 447 root 1 96 0 2864K 1724K select 0:02 0.00% 0.00%
>>>> ntp
>>>
>>> What is the length of the longest username that you have on your system?
>>
>> Ah, yes! Good thought. This could affect the width of the USERNAME
>> column and push everything too far to the right. If this is the case,
>> I'd probably vote for optionally limiting the length of the username
>> column to, say, 8 columns at most.
>
> FWIW, I'd vote for 6. I'd much rather see more of the command.
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.
Andy
/* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */
/* WWW: siliconlandmark.com * Tormenting bytes since 1980. */
More information about the freebsd-current
mailing list