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
Altering LVM Configuration When a Disk is Not in ODM Anymore
Viewed 4257 times since Mon, Jun 3, 2019
AIX - How to monitor CPU usage
Viewed 29643 times since Fri, Jun 8, 2018
System Admin Mirrorvg without locking the volume group
Viewed 4021 times since Mon, May 21, 2018
Create memory resident filesystems (RAM disk) on AIX
Viewed 3554 times since Thu, Feb 21, 2019
How to determine why your AIX oslevel is downlevel (and a script to help!)
Viewed 5724 times since Fri, Jul 13, 2018
AIX Oracle tuning
Viewed 240334 times since Tue, Jul 2, 2019
This document discusses a new feature implemented for JFS2 filesystems to prevent simultaneous mounting.
Viewed 3629 times since Sat, Jun 1, 2019
How do I analyze and debug core files on AIX
Viewed 8440 times since Thu, Feb 21, 2019
Backing up your VIOS configuration with viosbr.
Viewed 12848 times since Mon, May 28, 2018
AIX: How to determine which application created the OS core file
Viewed 3248 times since Mon, Jun 11, 2018