Kernel-Managed Swap Facility (KMSF) Manual

Managing KMS Files
Kernel-Managed Swap Facility (KMSF) Manual425824-005
3-4
Other Tools and KMSF
Other Tools and KMSF
Use NSKCOM, rather than other HP utilities, to monitor KMS files. Such utilities as the
Object Monitoring Facility (OMF), PEEK, and the File Utility Program (FUP) are
general-purpose utilities that do not return information specific to KMSF. Due to the
architecture of KMS files, these utilities might give misleading information for KMS files.
In particular, use NSKCOM instead of other tools to:
Determine the size and usage of your KMS files. The NSKCOM STATUS
command displays a swap file’s total number of processor pages, as well as the
pages that are allocated and available, as shown in Example 3-1.
The end-of-file (EOF) given by the FUP INFO and TACL FILEINFO commands
does not indicate the amount of space allocated or available in KMS files. KMSF
allocates and frees swap space anywhere within a swap file. The EOF of a KMS
file indicates the most space allocated at any time in the file. The EOF is initially
set at 0.
Determine the swap file or files that a process is swapping to. The NSKCOM
STATUS command shows the swap files currently available to a processor. A
process swaps to one or more of the swap files available to the processor in which
it is running. For example, Example 3-2 on page 3-5 shows two currently used
swap files for CPU 0. A process running in CPU 0 swaps to one, or both, of these
files.
Example 3-1. NSKCOM Status Output for KMS Files
NSK-STATUS SWAPFILE *
Status of $SWAP.KERSWAP.CPU00A
CPU 0
CPU Pages: Total 32768 Reserved 18193 Available 14575
Peak CPU Pages ever reserved 22365
Threshold 27852 CPU pages
Status of $SWAP.KERSWAP.CPU01A
CPU 1
CPU Pages: Total 16384 Reserved 7209 Available 9175
Peak CPU Pages ever reserved 10523
Threshold 13926 CPU pages
...