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
Using Kerberos security with Server for NFS
Viewed 8630 times since Wed, Jun 27, 2018
AIX Different Commands For Paging Space Administration swap file create
Viewed 6884 times since Thu, Aug 1, 2019
IVM and VLAN Tagging
Viewed 9964 times since Mon, May 28, 2018
AIX snap - Prevent dump collection
Viewed 11991 times since Mon, Sep 17, 2018
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2196 times since Fri, Apr 19, 2019
0516-404 allocp: This system cannot fulfill the allocation request. [AIX]
Viewed 4439 times since Thu, Sep 20, 2018
Topics: PowerHA / HACMP, Storage Adding a new volume group to an active PowerHA resource group
Viewed 2196 times since Mon, Jun 3, 2019
Installation of the Virtual I/O Server directly from the HMC
Viewed 17973 times since Tue, Jun 4, 2019
bootlist multiple boot logical volume found
Viewed 2403 times since Tue, Apr 16, 2019
Trouble Shooting AIX Networking
Viewed 2240 times since Tue, May 22, 2018