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 Encrypted File System
Viewed 6427 times since Tue, Jul 17, 2018
AIX Undocumented AIX command lquerypv
Viewed 4170 times since Tue, Jul 17, 2018
AIX Booting
Viewed 11293 times since Tue, Apr 16, 2019
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 12375 times since Thu, Feb 21, 2019
Part 3, Monitoring your network packets and tuning the network
Viewed 6568 times since Mon, Jun 4, 2018
Monitor logfiles and command output on AIX using multitail.
Viewed 2854 times since Thu, Feb 21, 2019
Configuration of AIX Fast Connect and SMBFS
Viewed 9261 times since Mon, Jun 18, 2018
AIX, Security, System Admin Difference between sticky bit and SUID/GUID
Viewed 9546 times since Fri, Apr 19, 2019
System Admin Mirrorvg without locking the volume group
Viewed 3616 times since Mon, May 21, 2018
Recovery from LED 552, 554, or 556 in AIX
Viewed 3206 times since Tue, Apr 16, 2019