Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 10:24:23 -0700
From:      Jeremy Chadwick <koitsu@freebsd.org>
To:        WaW <wawaka@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: zeroed fields in ps output
Message-ID:  <20080423172423.GA5436@eos.sc1.parodius.com>
In-Reply-To: <9fce1cdb0804230932o5a39ccd1p3b38527411b9bd13@mail.gmail.com>
References:  <9fce1cdb0804230932o5a39ccd1p3b38527411b9bd13@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080423172423.GA5436>