Use the sar -v command to report the status of the process table, inode table, file table, and shared memory record table.
$ sar -v 00:00:00 proc-sz ov inod-sz ov file-sz ov lock-sz 01:00:00 43/922 0 2984/4236 0 322/322 0 0/0 |
Output from the -v option is described in the following table.
Table 24–18 Output From the sar -v Command
Field Name |
Description |
---|---|
proc-sz |
The number of process entries (proc structures) that are currently being used, or allocated in the kernel. |
inod-sz |
The total number of inodes in memory verses the maximum number of inodes that are allocated in the kernel. This number is not a strict high water mark; it can overflow. |
file-sz |
The size of the open system file table. The sz is given as 0, since space is allocated dynamically for the file table. |
ov |
The number of shared memory record table entries that are currently being used or allocated in the kernel. The sz is given as 0 because space is allocated dynamically for the shared memory record table. |
lock-sz |
The number of shared memory record table entries that are currently being used or allocated in the kernel. The sz is given as 0 because space is allocated dynamically for the shared memory record table. |
The following abbreviated example shows output from the sar -v command. This example shows that all tables are large enough to have no overflows. These tables are all dynamically allocated based on the amount of physical memory.
$ sar -v SunOS venus 5.9 Generic sun4u 06/24/2001 00:00:00 proc-sz ov inod-sz ov file-sz ov lock-sz 01:00:00 43/922 0 2984/4236 0 322/322 0 0/0 02:00:02 43/922 0 2984/4236 0 322/322 0 0/0 03:00:00 43/922 0 2986/4236 0 323/323 0 0/0 04:00:00 43/922 0 2987/4236 0 322/322 0 0/0 05:00:01 43/922 0 2987/4236 0 322/322 0 0/0 06:00:00 43/922 0 2987/4236 0 322/322 0 0/0 |