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
How to Configure Sendmail not to Look up MX records
Viewed 3934 times since Fri, Apr 19, 2019
Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Viewed 2842 times since Thu, Feb 21, 2019
LVM: Extend an existing Volume Group by adding a new disk
Viewed 5844 times since Sat, Jun 2, 2018
How to install filesets/software in aix?
Viewed 6301 times since Mon, Jul 8, 2019
Monitor logfiles and command output on AIX using multitail.
Viewed 2553 times since Thu, Feb 21, 2019
Script to show Total, Free and Used Memory on AIX
Viewed 3564 times since Thu, Nov 29, 2018
AIX HA / HACMP, System Admin↑ Mountguard
Viewed 7284 times since Mon, Jun 3, 2019
http://ibmsystemsmag.com/aix/administrator/backuprecovery/remote-sync/
Viewed 5547 times since Wed, May 30, 2018
List STALE partitions across Volume Groups for each Logical Volume in AIX
Viewed 2761 times since Tue, Jul 17, 2018
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 10852 times since Thu, Feb 21, 2019