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
Awesome Command to show top 15 processes using memory on AIX
Viewed 24135 times since Thu, Nov 29, 2018
AIX Creating a Volume Group
Viewed 2719 times since Tue, Jul 17, 2018
AIX: Remove existing disk
Viewed 2843 times since Sun, Jun 3, 2018
Part 3, Monitoring your network packets and tuning the network
Viewed 6138 times since Mon, Jun 4, 2018
How to setup an user in AIX
Viewed 4215 times since Mon, May 28, 2018
LVM: Shrink & extend a filesystem/volume
Viewed 2319 times since Sun, Jun 3, 2018
A tcpdump Tutorial and Primer with Examples
Viewed 5464 times since Sun, Jun 17, 2018
AIX Resolving "missing" or "removed" disks in AIX LVM
Viewed 4948 times since Tue, Aug 6, 2019
NTLMSSP, SPN and AIX CIFS
Viewed 8368 times since Fri, Jun 15, 2018
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 11800 times since Thu, Feb 21, 2019