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
There are no attachments for this article.
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
AIX 0516-404 allocp: This system cannot fulfill the allocation
Viewed 3084 times since Thu, Sep 20, 2018
Install and configure yum on AIX
Viewed 4302 times since Thu, Feb 21, 2019
AIX Full memory dump configure
Viewed 3168 times since Mon, Jul 16, 2018
AIX oslevel version OS
Viewed 4562 times since Wed, Apr 17, 2019
AIX disk queue depth tuning for performance
Viewed 14769 times since Thu, Jan 16, 2020
Topics: AIX, System Admin↑ Export and import PuTTY sessions
Viewed 2743 times since Fri, Apr 19, 2019
vfcpmap on VIO Server
Viewed 9217 times since Tue, Jun 4, 2019
Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 2196 times since Thu, Sep 20, 2018
Working with Virtual media library on VIO servers
Viewed 13863 times since Thu, Feb 21, 2019
Create volume groups on AIX - Normal Big Scalable
Viewed 6465 times since Thu, Feb 21, 2019