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 Commands Related to Boot and Init Process
Viewed 6186 times since Tue, Apr 16, 2019
Processes and Devices—It’s All About the Children
Viewed 3389 times since Wed, May 30, 2018
AIX LVM QUORUM mysteries revealed
Viewed 4400 times since Wed, May 22, 2019
AIX Net How to check VLAN ID number on AIX?
Viewed 17267 times since Thu, Nov 29, 2018
How to setup an user in AIX
Viewed 5600 times since Mon, May 28, 2018
Working with Virtual media library on VIO servers
Viewed 18321 times since Thu, Feb 21, 2019
AIX: Script to get Total Disk Size
Viewed 5080 times since Tue, Jun 12, 2018
Online Backups and Recovery in a Snap AIX
Viewed 6348 times since Wed, May 30, 2018
List AIX File Systems the Easy Way With the lsvgfs Command
Viewed 3290 times since Thu, Sep 20, 2018
Convert to Scalable Volume Groups
Viewed 5634 times since Wed, May 30, 2018