Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 1997 05:01:05 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        "Andrew N. Edmond" <edmond@shaman.lycaeum.org>
Cc:        questions@freebsd.org
Subject:   Re: open file descriptors? 
Message-ID:  <199712190501.FAA23259@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Thu, 18 Dec 1997 20:02:24 MST." <Pine.BSF.3.96.971218195332.2602B-100000@shaman.lycaeum.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> How can you tell how many file descriptors are open throughout the whole
> FreeBSD operating system?  I have 4096 in the sysctl kern.maxfiles
> setting, but I need to write a trigger script to let me know when that
> reaches 75% of available open files.  
> 
> Is there a kernel setting I can look at for the # of file descriptors in
> use?

pstat -T

> andy
> 
>     :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> \-/ ::::::::       Andrew N. Edmond  - finger for PGP key        :::::::::: \-/
> /-\ ::::::                      ............                         :::::: /-\
> \-/ :::     edmond@lycaeum.org     ::::::     an1@anon.nymserver.com    ::: \-/
> /-\ :     Director of the Lycaeum    ::    the Nymserver Administrator    : /-\
> \-/ :::      www.lycaeum.org       ::::::       www.nymserver.com       ::: \-/
>     :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> 

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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