AIX Paging (SWAP) Space Management

Paging

Swap space related commands and files in AIX 
  • swapon
  • swapoff
  • lsps
  • chps
  • mkps
  • rmps
  • /etc/swapspaces
swapon: Used to activate a paging space.
   
   swapon -a --> activates all paging devices specified on /etc/swapspaces
   swapon  --> Activates the specified paging space

mkps command is used to add an additional paging space.
Usage:


       mkps [ -a ] [ -n ] [ -s Number of LPs ] VG_Name
          -a activates the paging space during next reboot
          -n activates the paging space immediately

chps: This command is used to change the attributes of a paging space
Syntax:
       chps [ -a LPs | -d LPs ] [ -a { y | n } ] paging_space_name
          -s Specifies the number of logical partitions to add 
          -d specifies the number of logical partitions to subtract
          -a To specify to use the Paging Space at the next reboot




To remove an active paging space "paging00"

1. Deactivate the paging space using swapoff command
   # swapoff paging00
2. remove the paging space using rmps command
   # rmps paging00

Share this

Related Posts

Previous
Next Post »

2 comments

Write comments
Anonymous
December 9, 2017 at 12:12 PM delete

I have read a few excellent stuff here. Certainly price bookmarking
ffor revisiting. I surpris how soo much effort you put
to create this ype of great informative website.

Reply
avatar

What do you think about this Article? Add your Opinion..! EmoticonEmoticon