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
Online Backups and Recovery in a Snap AIX
Viewed 5438 times since Wed, May 30, 2018
How to mirror the rootvg in AIX?
Viewed 5463 times since Mon, May 21, 2018
AIX: How to determine which application created the OS core file
Viewed 2683 times since Mon, Jun 11, 2018
AIX, System Admin Configuring dsh DSH
Viewed 4339 times since Fri, Apr 19, 2019
Burn Image to DVD in AIX
Viewed 13741 times since Thu, Sep 20, 2018
Aix: How to assign a specific PVID
Viewed 8023 times since Fri, Feb 1, 2019
AIX, Security, System Admin↑ Clearing password history
Viewed 2694 times since Fri, Apr 19, 2019
How to setup an user in AIX
Viewed 4319 times since Mon, May 28, 2018
AIX Creating a Volume Group
Viewed 2764 times since Tue, Jul 17, 2018
AIX - How to get Memory infomation
Viewed 11507 times since Fri, Jun 8, 2018