Re: linux equiv for pstat, NIS problems

Joel Boring (dwild@eskimo.com)
Sun, 15 Dec 1996 20:51:38 -0800 (PST)


ahhhh....thanks =) Found what we need in /proc/sys/kernel/file-nr and
inode-nr, but you got me going in the right direction =) Much appreciated!

--
Joel Boring (aka Derek Wildstar)                          Eskimo North
dwild@eskimo.com, DWildstar@IRC                            Seattle, WA
IRC Admin / Assistant Sysadmin / Tech Support           (206) 361-1161

On Mon, 16 Dec 1996, Keith Owens wrote:

> Date: Mon, 16 Dec 1996 15:28:28 +1100 > From: Keith Owens <kaos@ocs.com.au> > To: Joel Boring <dwild@eskimo.com> > Cc: linux-kernel@vger.rutgers.edu > Subject: Re: linux equiv for pstat, NIS problems > > > We are currently using "ps ax | wc -l" to get > > the process total, but have not yet found a way to count total open files. > > Quick and dirty > > echo `find /proc/[0-9]* -path '*/fd/*' | wc -l` / \ > `cat /proc/sys/kernel/file-max` > >