ps, systat vs top shows different process owner?
Bartosz Stec
bartosz.stec at it4pro.pl
Fri Dec 2 15:00:25 UTC 2011
Hi list,
I have a SAMBA server (version 3.5.11) installed over 8.2-STABLE. I have
just noticed, that top shows USERNAME of all smbd processes as root,
while systat and ps show user logged to SAMBA.
ps output of example user:
# ps -a -U foo.bar
PID TT STAT TIME COMMAND
19731 ?? S 0:10,19 /usr/local/sbin/smbd -D -s
/usr/local/etc/smb.conf
top output for the same PID:
# top -d1 | grep 19731
19731 root 1 44 0 17220K 7844K select 0:12
0.29% smbd
systat output is consistent with ps.
Is that expected behaviour? Could someone explain it to me?
--
Bartosz Stec
More information about the freebsd-stable
mailing list