[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shared memory - using ps(1)



Bill Moseley wrote:
> Also, ps is always showing the UID # instead of the name.  Shouldn't
> that come from /etc/passwd?
> 
> $ fgrep 112 /etc/passwd
> subversion:x:112:112:subversion:/var/lib/projects:/bin/sh

$ printf subversion | wc -c
10

ps displays the uid because the user name is longer than 9
characters.

                                        -DaTa



Reply to: