Date: Fri, 02 Dec 2011 15:26:08 +0100 From: Bartosz Stec <bartosz.stec@it4pro.pl> To: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: ps, systat vs top shows different process owner? Message-ID: <4ED8E000.1060903@it4pro.pl>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED8E000.1060903>