Sunday, December 11, 2011

Paging Space Commands in AIX


lsps -a                      To list out all paging spaces

lsps hd6                   To display the details of the paging space hd6

chps -a y paging00    To turn on the paging space paging00 on next reboot

chps -a n paging00    To turn off the paging space paging00 on next reboot

chps -s4 paging00     To increase the size of the paging space in 4 LP blocks

mkps -a -n -s4 newvg   To create a paging space on VG newvg of 4 LP size (-s4) and activate it immediately (-n) and activate it at every restarts

rmps paging00               To remove the paging space paging00

swapon -a                     To invoke all entries in /etc/swapspaces file

swapon /dev/paging00
  To make available swap space paging00

swapoff /dev/paging00  To disable swap space paging00