| sep92.tar |
Figure 6: Calculating Active Inode Table Requirements
A. To use pstat to monitor usage:
# pstat -i # pstat -i | head -1
B. To use crash to monitor usage:
# crash dumpfile = /dev/kmem, namelist = /sysV68, outfile = stdout > inode
Output for this command shows the number of currently defined active inode entries, but the SLOT number does not accurately indicate the actual number of active inodes Use the command (inode ! wc -l) which tells crash to run the inode function to display the inode table, but pipe the data through wc -l so we can see the number of lines which are returned. Remember to subtract the required number of lines for the header of the the output.
>inode ! wc -l 49 >
C. The Formula
NINODE = ( number-of-users * largest-number- of-inodes-used )+ BASE
This calculation defines the minimum number of entries to have configured in the kernel for the active inode table.
|