Trick to Purge/Clean Swap Usage on AIX

Trick to Purge/Clean Swap Usage on AIX

And, “of course” after solving what was using to much swap space, you got already a good space that needs to be free, well, we’re here to do the trick!

# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type Chksum
hd6             hdisk0            rootvg         512MB    34   yes   yes    lv     0
# chps -d 1 hd6
shrinkps: Temporary paging space paging00 created.
shrinkps: Dump device moved to temporary paging space.
shrinkps: Paging space hd6 removed.
shrinkps: Paging space hd6 recreated with new size.
shrinkps: Resized and original paging space characteristics differ,
check the lslv command output.
# chps -s 1 hd6
# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type Chksum
hd6             hdisk0            rootvg         512MB    18   yes   yes    lv     0

 

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
List AIX File Systems the Easy Way With the lsvgfs Command
Viewed 2179 times since Thu, Sep 20, 2018
Install and configure GNU watch (gwatch) on AIX
Viewed 7878 times since Thu, Feb 21, 2019
AIX Creating a Volume Group
Viewed 2590 times since Tue, Jul 17, 2018
https://www.ibm.com/developerworks/learn/aix/index.html
Viewed 11333 times since Wed, May 30, 2018
Rootvg Mirroring in AIX
Viewed 2839 times since Mon, May 21, 2018
Create volume groups on AIX - Normal Big Scalable
Viewed 6846 times since Thu, Feb 21, 2019
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 3901 times since Sat, May 19, 2018
AIX: Script to create a file with commands to remove missing & failed paths
Viewed 3316 times since Tue, Jun 12, 2018
Mirroring session (TTY) on AIX using portmir
Viewed 9456 times since Thu, Feb 21, 2019
Part 1, Memory overview and tuning memory parameters AIX7
Viewed 4351 times since Wed, Jun 19, 2019