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
AIX, Storage, System Admin Allocating shared storage to VIOS clients
Viewed 3335 times since Fri, Apr 19, 2019
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 3326 times since Fri, Apr 19, 2019
Mirroring the rootvg Volume Group for AIX 4.1/4.2
Viewed 4164 times since Mon, May 21, 2018
A Change to the SMT Mode Default in POWER9
Viewed 6996 times since Fri, Jan 18, 2019
Creating Normal,Big,Scalable VG on AIX
Viewed 16608 times since Fri, Feb 1, 2019
AIX smtctl The smtctl command controls the enabling and disabling of processor simultaneous multithreading mode.
Viewed 16635 times since Fri, Jan 18, 2019
AIX: How do you send an attachment via mail
Viewed 4273 times since Mon, Jun 11, 2018
O’Reilly’s CD bookshelf
Viewed 15714 times since Wed, Jun 27, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 44643 times since Thu, Jun 21, 2018
AIX ODM for MPIO User Guide 09
Viewed 5439 times since Mon, Dec 31, 2018