Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 22:03:30 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Monitoring Max Files Open ...
Message-ID:  <20000824220330.I1209@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.21.0008250059570.801-100000@thelab.hub.org>; from scrappy@hub.org on Fri, Aug 25, 2000 at 01:01:24AM -0300
References:  <Pine.BSF.4.21.0008250059570.801-100000@thelab.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* The Hermit Hacker <scrappy@hub.org> [000824 21:01] wrote:
> 
> Just wondering if anyone knows of a command in FreeBSD that will allow me
> to monitor 'peak' open files?  I hit the 4136 limit the other day with a
> database server and up'd it to 8192, but would like to give myself a bit
> of a warning if I come close to that, and figured a 'peak' number like
> 'netstat -m' gives for mbufs would help ...
> 
> thanks ...

download and compile this:

http://people.freebsd.org/~alfred/nfiles.tgz

kldload it and do a 'sysctl -a | grep files'

enjoy,
--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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