Cover V01, I03
Article
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Sidebar 1

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.