Sharing Knowledge | System Admin Articles

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


Labels: AIX

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

2 Comments for "AIX Paging (SWAP) Space Management"

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.

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

Back To Top