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
AIX: How to set automatic logoff (only for terminals)
Viewed 4131 times since Mon, Jun 11, 2018
AIX, Security, System Admin↑ Fix user accounts
Viewed 5815 times since Fri, Apr 19, 2019
AIX NTP Client configuration
Viewed 14010 times since Tue, Jul 17, 2018
0516-404 allocpThis system cannot fulfill the allocation
Viewed 11003 times since Thu, Sep 20, 2018
Processes and Devices—It’s All About the Children
Viewed 3580 times since Wed, May 30, 2018
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 3369 times since Fri, Apr 19, 2019
7 Tips – Tuning Command Line History in Bash
Viewed 7478 times since Fri, Jul 5, 2019
Rootvg Mirroring in AIX
Viewed 4068 times since Mon, May 21, 2018
AIX Commands Related to Boot and Init Process
Viewed 6435 times since Tue, Apr 16, 2019
Setup private yum repository for AIX clients
Viewed 12593 times since Thu, Feb 21, 2019