Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 16:26:59 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Vlad GALU <vladgalu@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: counting total PIDs since the server been started
Message-ID:  <20041214222658.GE37432@dan.emsphone.com>
In-Reply-To: <79722fad0412141400503434ff@mail.gmail.com>
References:  <965002013.20041214123345@stickit.nu> <20041214095521.GA65343@shagged.org> <79722fad04121401572488731c@mail.gmail.com> <20041214152346.GC37432@dan.emsphone.com> <79722fad0412141400503434ff@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 15), Vlad GALU said:
> On Tue, 14 Dec 2004 09:23:46 -0600, Dan Nelson <dnelson@allantgroup.com> wrote:
> > Most Unixes provide these stats under the "vmstat -s" command also.
>    
> It'd be nice if Linux had something like that. However, I've been
> able to reproduce the desired effect by issuing "cat /proc/stat |
> grep processes".

Linux (debian at least) puts the fork count at the bottom of its "vmstat
-s" output, and "vmstat -s | grep forks" matches "grep processes
/proc/stat".

-- 
	Dan Nelson
	dnelson@allantgroup.com



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