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
Finding password rules in AIX
Viewed 2270 times since Mon, May 28, 2018
AIX↑ AIX www links
Viewed 3183 times since Sat, Apr 20, 2019
AIX, System Admin Configuring dsh DSH
Viewed 3504 times since Fri, Apr 19, 2019
AIX Encrypted File System
Viewed 5444 times since Tue, Jul 17, 2018
AIX, Storage, System Admin Allocating shared storage to VIOS clients
Viewed 1882 times since Fri, Apr 19, 2019
AIX - How to shutdown or reboot
Viewed 3108 times since Fri, Jun 8, 2018
Check connection (rsh or nimsh) between NIM server and LPAR
Viewed 8739 times since Thu, Feb 21, 2019
Using Shell Redirection: All About the Here-Doc
Viewed 9878 times since Wed, May 30, 2018
HOWTO: Copy a filesystem on AIX
Viewed 1998 times since Mon, May 28, 2018
AIX, Monitoring, Networking, Red Hat, Security, System Admin↑ Determining type of system remotely
Viewed 1835 times since Fri, Apr 19, 2019