From owner-freebsd-questions Tue Sep 5 8:34:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id C5DBC37B422 for ; Tue, 5 Sep 2000 08:34:37 -0700 (PDT) Received: from bagabeedaboo.security.at12.de (dial-213-168-72-95.netcologne.de [213.168.72.95]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id RAA27912; Tue, 5 Sep 2000 17:34:35 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.11.0/8.11.0) with ESMTP id e85FYU502060; Tue, 5 Sep 2000 17:34:30 +0200 (CEST) (envelope-from pherman@frenchfries.net) Date: Tue, 5 Sep 2000 17:34:30 +0200 (CEST) From: Paul Herman To: Simon Nielsen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Number of open files per process In-Reply-To: <39B50FA5.CEEF63E1@dkik.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 5 Sep 2000, Simon Nielsen wrote: > > Is it posible to find out how may files a process has open? > One way: fstat -p pid | wc -l where "pid" is the pid of the process. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message