LIST

How to list out all the paging space details?
lsps –a

How to list out the consolidate paging space size?
lsps –s

CREATE

How to create the paging space ?
mkps –s <no of pp> -n –a rootvg
Ex: mkps –s 8 –n –a rootvg

INCREASE

How to Increase the Paging space?
chps –s <no of pp> <paging name>
Ex: chps –s 8 paging00

DECREASE

How to decrease the paging space?
chps –d <no of pp> <paging name>
Ex: chps –d 4 pagin00

DELETE

How to delete the paging space?
swapoff /dev/<paging name>
rmps <paging name>
Ex: swapoff /dev/paging00
Ex: rmps paging00

CONFIGURATION FILE

All the paging space is defined in /etc/swapspaces
cat /etc/swapspaces

ENABLE

How to enable the paging space?
swapon /dev/<paging name>
Ex: swapon /dev/pagin00

DISABLE

How to disable the paging space?
swapoff /dev/<paging name>
Ex: swapoff /dev/paging00

Advertisements