Ainsi parlait Borsenkow Andrej :
> > > UID        PID  PPID  C STIME TTY          TIME CMD
> > > root     17184     1  0 16:47 tty1     00:00:01 knotify
> > >
> > > All this running as root
> >
> > i believe he does (hopefully) the translation.
>
> But why it does it for some process but not for others?
ps behaviour is sometimes puzzling, even when not related to devfs. For me, 
it translates uid to user name only for system, not for real users:
[guillaume@silbermann guillaume]$ whoami
guillaume
[guillaume@silbermann guillaume]$ id -u
501
[guillaume@silbermann guillaume]$ ps -aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
[..]
root      9391  0.0  0.4  3080 1052 ?        S    14:30   0:00 xinetd 
-stayalive -reuse -pidfile /var/run/xinetd.pid
501       9756 32.7 11.9 44440 30708 ?       R    15:24   4:50 kdeinit: 
konqueror --silent
postfix   9774  0.0  0.5  3848 1340 ?        S    15:28   0:00 
trivial-rewrite -n rewrite -t unix -u
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to