Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 07:30:38 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Karsten Fuhrmann <karsten_fuhrmann@cartoon-film.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Show count of open files
Message-ID:  <409F67DE.30607@potentialtech.com>
In-Reply-To: <B0C58F68-A26E-11D8-AA1F-000A95DC1E96@cartoon-film.de>
References:  <B0C58F68-A26E-11D8-AA1F-000A95DC1E96@cartoon-film.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Karsten Fuhrmann wrote:
> Hello List,
> i wonder if there is a way to show how many open files there are in the 
> system. Not just my files, all open files.
> And how to figure out what the limit is.

"fstat" will show a list of open files.

"sysctl -a | grep file" will show you a number of kernel settings related
to files, including the max number of open files and the max number of
open files per process.

HTH.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



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