Kernel-Managed Swap Facility (KMSF) Manual
NSKCOM Command Reference
Kernel-Managed Swap Facility (KMSF) Manual—425824-005
4-7
ALT[ER] Command
In Example 4-3, the maximum extents of a swap file are increased.
In Example 4-4, the size of the swap file is altered to 32 megabytes (a smaller value
than the current value). To prevent unauthorized access to the file’s data, the file is first
“cleaned,” that is, its data is physically erased from the disk, before the extents are
made available to other users. The progress of this command is displayed on the
monitor, so that the user can stop the operation if desired.
Example 4-2. Using the ALTER Command to Alter the Threshold
NSK-ALTER SWAPFILE $SWAP.KERSWAP.CPU02A, THRESHOLD 75
File $SWAP.KERSWAP.CPU02A Threshold altered in ZSYSCFG
ALTER was successful: $SWAP.KERSWAP.CPU02A
NSK-
Example 4-3. Using the ALTER Command to Increase Maxextents
NSK-ALTER SWAPFILE $SWAP.KERSWAP.CPU00A, MAXEXTENTS 560
ALTER was successful: $SWAP.KERSWAP.CPU00A
NSK-
Example 4-4. Using the ALTER Command to Alter the Size
NSK-ALT SWAPFILE $SYSTEM.ZSYSSWAP.SWAP07, SIZE 32 MB
Cleaning $SYSTEM.ZSYSSWAP.SWAP07...Please wait.
Each '.' represents one extent cleaned.
Press the BREAK key to abort the operation.
................................................................
................................
ALTER was successful: $SYSTEM.ZSYSSWAP.SWAP07
NSK-