Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 20:02:24 -0700 (MST)
From:      "Andrew N. Edmond" <edmond@shaman.lycaeum.org>
To:        questions@freebsd.org
Subject:   open file descriptors?
Message-ID:  <Pine.BSF.3.96.971218195332.2602B-100000@shaman.lycaeum.org>

next 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?

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       ::: \-/
    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971218195332.2602B-100000>