Use the sar -r command to report the number of memory pages and swap-file disk blocks that are currently unused.
$ sar -r SunOS venus 5.6 Generic sun4m 08/20/96 00:00:03 freemem freeswap 01:00:02 983 187590 |
Output from the -r option is described in Table 64-16.
Table 64-16 Output From the sar -r Command
Field Name |
Description |
---|---|
freemem |
The average number of memory pages available to user processes over the intervals sampled by the command. Page size is machine-dependent. |
freeswap |
The number of 512-byte disk blocks available for page swapping. |
The following example shows output from the sar -r command.
$ sar -r SunOS venus 5.6 Generic sun4m 08/20/96 14:28:12 freemem freeswap 14:29:12 268 3034 14:30:12 351 3009 14:31:12 297 3033 Average 306 3025 |