1838682 Members
4768 Online
110128 Solutions
New Discussion

ninode setting

 
SOLVED
Go to solution
Bruce Troutman
Advisor

ninode setting

Is there a command that I can run in order to see what number of ninodes that my system currently needs. I currently have the setting at 27500 which is well over the 15,000 that in normally recommended.
6 REPLIES 6
eran maor
Honored Contributor

Re: ninode setting

Hi
use : sar -v and glance show ninode usage
love computers
Alan Riggs
Honored Contributor

Re: ninode setting

One thing to reapize is that the inode table is a hard limit only on hfs filesystems. vxfs filesystems will dynamically allocate more inodes if necessary.
Bruce Troutman
Advisor

Re: ninode setting

Thanks for the immediate feedback!

The sar -v command is responding with:
"Can't open /var/adm/sa/sa24"

Have you come across this? Is sar a glance command

I ran "swlist -l product|grep -i glance"

Glance C.03.05.00 HP GlancePlus/UX
Thierry Poels_1
Honored Contributor
Solution

Re: ninode setting

Hi, try the following:

sar -v 1 1
this will show you the usage of the ninode, nproc & nfile kernel parameters

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
MANOJ SRIVASTAVA
Honored Contributor

Re: ninode setting

sar -v (no. of seconds ) ( no. of times )
will get collect differnt readings for the values.


Manoj Srivastava
James R. Ferguson
Acclaimed Contributor

Re: ninode setting

Hi Bruce:

Take a look at the man pages for 'sar'. If you run 'sar' with no sampling interval specified, sar extracts data from a previously recorded file, by default, the standard system activity daily data file /var/adm/sa/sadd for the current day dd. Hence, for today, the file /var/adm/sa/sa24.

If you want to snapshot table resources for 60 seconds every 5 seconds you could do:

# sar -v 5 60

'glance' is a licensed product all to itself. You can get a trial copy (for free) from the Application CDROMs. 'glance' is a menu-based monitoring tool with builtin help on the metrics it collects. It monitors processor, memory, and I/O statistics; allows one to drill down to an individual process level; and much, much more. It is an invaluble tool to have.

...JRF...