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
Configure log file for cron daemon on AIX
Viewed 11571 times since Thu, Feb 21, 2019
AIX LVM QUORUM mysteries revealed
Viewed 4176 times since Wed, May 22, 2019
Script to reset NIM state and deallocate resources
Viewed 3128 times since Thu, Feb 21, 2019
Script to show Total, Free and Used Memory on AIX
Viewed 4044 times since Thu, Nov 29, 2018
Check connection (rsh or nimsh) between NIM server and LPAR
Viewed 11979 times since Thu, Feb 21, 2019
https://www.ibm.com/developerworks/learn/aix/index.html
Viewed 11937 times since Wed, May 30, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 11295 times since Wed, Jun 5, 2019
Backing up your VIOS configuration with viosbr.
Viewed 12717 times since Mon, May 28, 2018
Script to download TL and SP for AIX using NIM and SUMA
Viewed 10085 times since Thu, Feb 21, 2019
Script to make mksysb backup from NIM to LPAR
Viewed 4305 times since Thu, Feb 21, 2019