From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 14 15:23:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CE2D16A4CE for ; Tue, 14 Dec 2004 15:23:47 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1989643D46 for ; Tue, 14 Dec 2004 15:23:47 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iBEFNk9f080267; Tue, 14 Dec 2004 09:23:46 -0600 (CST) (envelope-from dan) Date: Tue, 14 Dec 2004 09:23:46 -0600 From: Dan Nelson To: Vlad GALU Message-ID: <20041214152346.GC37432@dan.emsphone.com> References: <965002013.20041214123345@stickit.nu> <20041214095521.GA65343@shagged.org> <79722fad04121401572488731c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <79722fad04121401572488731c@mail.gmail.com> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-hackers@freebsd.org Subject: Re: counting total PIDs since the server been started X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 15:23:47 -0000 In the last episode (Dec 14), Vlad GALU said: > On Tue, 14 Dec 2004 09:55:21 +0000, Chris Elsworth wrote: > > On Tue, Dec 14, 2004 at 12:33:45PM +0300, scream wrote: > > > I`m trying to solve this puzzle >"how to get statistics about > > > total count of fork`ed\exec`ed processes since the server been > > > rebooted and even make some RRD-like graphs".I need it to make > > > some graphs about server perfomance and stability.Could anyone > > > point me to any usefull docs. > > > > OTTOMH without consulting any docs, are these any use: > > > > # sysctl -a | grep fork > > vm.stats.vm.v_forks: 4795379 > > vm.stats.vm.v_vforks: 1017309 > > vm.stats.vm.v_rforks: 0 > > Hehe, I never noticed those. Most Unixes provide these stats under the "vmstat -s" command also. -- Dan Nelson dnelson@allantgroup.com