Kernel-Managed Swap Facility (KMSF) Manual
Managing KMS Files
Kernel-Managed Swap Facility (KMSF) Manual—425824-005
3-7
Checking the Status of KMS Files
Checking the Status of KMS Files
Check your KMS files to ensure that they are working properly and that their usage is
at an acceptable level. Use the NSKCOM STATUS command to display dynamic
statistics on swap files.
Example 3-4 shows the STATUS command display for all swap files for CPU 0.
As shown above, the STATUS command displays information on the available and
reserved space in all the processor’s swap files, the threshold at which the KMSF
generates an event message for each file, and the peak processor pages ever
reserved for each file.
You can also use the STATUS KMSF command to display statistics for each processor
as shown in Example 3-5.
Example 3-4. Using the STATUS Command to Display Information on Swap Files
NSK-STATUS SWAPFILE *, CPU 0
Status of $SWAP.KERSWAP.CPU00A
CPU 0
CPU Pages: Total 16384 Reserved 10865 Available 5519
Peak CPU Pages ever reserved 11579
Threshold 13926 CPU pages
Status of $SYSTEM.ZSYSSWAP.SWAP00
CPU 0
CPU Pages: Total 16384* Reserved 10244 Available 6140
Peak CPU Pages ever reserved 11160
Threshold 13926 CPU pages
* Default swapfile extents may not be fully allocated.
NSK-
Example 3-5. Using the STATUS Command to Display Total Swap File Statistics
for Each Processor
NSK-STATUS KMSF
KMSF statistics from CPU 0
Total swap space 256 MB
Reserved CPU Pages 8271 (for 705 Reservations) Available pages 8113
Historical data:
Reservations: Creates 18655 (failures 0) Releases 17195 (failures 0)
Resizes 1187 (failures 0)
Actual use: Allocates 3756 (failures 0) Frees 1262 (failures 0)
KMSF statistics from CPU 1
Total swap space 256 MB
Reserved CPU Pages 7433 (for 653 Reservations) Available pages 8951
Historical data:
Reservations: Creates 17068 (failures 0) Releases 16763 (failures 0)
Resizes 1918 (failures 0)
Actual use: Allocates 2704 (failures 0) Frees 1355 (failures 0)
NSK-