zeroed fields in ps output

Jeremy Chadwick koitsu at freebsd.org
Wed Apr 23 17:24:23 UTC 2008


On Wed, Apr 23, 2008 at 08:32:13PM +0400, WaW wrote:
> Hello.
> I have noticed something strange with some processes running in my
> system. Look at ps output below: it says that nfsd, smbd and zsh are
> running for ~13992 days, that means their ELAPSED field == 0 in unix
> time. Moreover, RSS field also == 0. This happens in 1-2 days after
> system is booted up. Is this a bug or a feature?
> 
> System is 7.0-RELEASE/amd64. And if it makes sense - nfs and samba do
> export zfs filesystems.

May be specific to your system, as I can't reproduce it here:

$ ps -auxw | grep smb
root      659  0.0  0.1  9044  1816  ??  Ss   Sat06am   0:11.69 /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf
root      660  0.0  0.1  9032  1688  ??  I    Sat06am   0:00.09 /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf
root      664  0.0  0.1 12264  2976  ??  Is   Sat06am   0:00.01 /usr/local/sbin/smbd -d 2 -D -s /usr/local/etc/smb.conf
root      709  0.0  0.1 12264  2912  ??  I    Sat06am   0:00.00 /usr/local/sbin/smbd -d 2 -D -s /usr/local/etc/smb.conf
$ uptime
10:22am  up 4 days,  3:33, 3 users, load averages: 0.00, 0.00, 0.00
$ uname -a
FreeBSD icarus.home.lan 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Apr 19 04:28:33 PDT 2008     root at icarus.home.lan:/usr/obj/usr/src/sys/SM5015MT amd64

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list