ps command: too long usernames show up as numbers?

Jacques B. jjrboucher at gmail.com
Thu Jan 18 13:01:24 UTC 2007


> It was a previous thread regarding this.
> You can find there the explanation :D
>
>
> Calin

Thanks.  Found it.  Here it is for Rob's benefit (Gmail to the rescue).

Jacques B.

========previous posting on this subject============

 Jason L Tibbitts III 	
<tibbs at math.uh.edu> to For
 More options	  Jan 2
>>>>> "MY" == Michael Yep <myep at remotelink.com> writes:

MY> I figured as much. I just found it odd to be a numeric id instead
MY> of the user name

The name is too wide to fit into the eight-character column, so ps
shows it numerically.  (Truncating it would be rather bad.)

I set
PS_FORMAT=user:10,pid,%cpu,%mem,vsz,rss,tty,stat,start,time,command

so "ps ax" shows the full name.




More information about the fedora-list mailing list