From owner-freebsd-questions@FreeBSD.ORG Mon May 10 04:30:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C893316A4D3 for ; Mon, 10 May 2004 04:30:43 -0700 (PDT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55C5F43D2F for ; Mon, 10 May 2004 04:30:43 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id 76F9469A71; Mon, 10 May 2004 07:30:42 -0400 (EDT) Message-ID: <409F67DE.30607@potentialtech.com> Date: Mon, 10 May 2004 07:30:38 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040506 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Karsten Fuhrmann References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Show count of open files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 11:30:43 -0000 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