1838348 Members
4119 Online
110125 Solutions
New Discussion

Re: Maxfile use

 
SOLVED
Go to solution
SILO Storagetek
Frequent Advisor

Maxfile use

Hi everybody,
is there a way to monitor the maxfile usage?

thanks, prod.
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: Maxfile use

prod,

If you have Glance, it's easy. Just look under the system tables report.


Pete



Pete
Bernhard Mueller
Honored Contributor
Solution

Re: Maxfile use

What Pete means is nfile, which you can monitor using sar -v (e.g. sar -v 1 1), if you do not have Glance.

If you really mean maxfiles (soft limit of open files per process) you would have to install lsof, determine the process id and run something like
lsof | grep -c

Regards,
Bernhard
SILO Storagetek
Frequent Advisor

Re: Maxfile use

Thanks,
but I need some extra info...
In the system tables report I can find:
nproc
nfile
shmmni
msgmni
nflocks
npty
nbuf
shared memory
message buffer
ninode
dnlc chache

not maxfiles..
whats's wrong?

thanks a lot..
RAC_1
Honored Contributor

Re: Maxfile use

glance -t

sar -v 3 3

There is no substitute to HARDWORK
SILO Storagetek
Frequent Advisor

Re: Maxfile use

thanks everybody.
I've lsof on this system, but I need to know the total use of maxfiles, not of a single process.. I have to do only a "lsof | wc -l", or not?


Robert-Jan Goossens
Honored Contributor

Re: Maxfile use

Robert-Jan Goossens
Honored Contributor

Re: Maxfile use

Should have been Bill Hassel.
Jeff Schussele
Honored Contributor

Re: Maxfile use

Hi,

maxfiles & maxiles_lim are *process* limits, not global limits.
nfile is the global limit. You'll want to monitor nfile then.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
SILO Storagetek
Frequent Advisor

Re: Maxfile use

ok, thanks everybody..