AIX - Paging Space
Paging space is configured for additional system performance i.e. if real memory is occupies some system process, that time further process is moved to paging space temporary. If real memory getting free, then process moved from paging space to real memory. This paging space is assigned from HDD space.
Normally paging space is configured double size of the real memory
If system has 512MB RAM, then paging space size will be 1BG.
In this paging space we can perform following:
1. List paging space
2. Create paging space
3. Change paging space
4. Activate paging space
5. Deactivate paging space
6. Remove paging space
AIX - Paging - Activate Paging Space
Using swapon command we can activate the paging space
#swapon /dev/newpaging (To activate paging space)
The paging space is active stage, and then one entry will be available in /etc/swapspaces file.
5. Deactivate paging space
Using swapoff command we can deactivate the paging space
#swapoff /dev/newpaging (To deactivate paging space)
The paging space is deactivated, then that paging space entry is removed from /etc/swapspaces
AIX - Paging - Change Paging Space
Using chps command we can increase, decrease, auto on, and auto off the paging space.
#chps –s 5 newpaging (5 LP’s added with newpaging) – To increase
#chps –d 3 newpaging (3 LP’s reduced from newpaging – To Decrease
#chps -ay newpaging (To start the paging space at startup)
#chps –an newpaging (To stop the paging space automatic startup at boot)
Using mkps command we can create the paging space
AIX - Paging - Create Paging Space
#mkps –s 10 rootvg hdisk2
s- size
10 – no of PP size
Rootvg – specifying the VG
Hdisk2 – paging space created in PV hdisk2 (PP allocated from hdisk2)
Then paging space has created and name will be paging00
Using mklv command we can create paging space using different name.
Generally paging name will be paging00, paging01, paging02,
#mklv –y newpaging –t paging rootvg 10 hdisk2
#lsps –a
Paging00 , newpaging
AIX - Paging - Deactivate Paging Space
Using swapoff command we can deactivate the paging space
#swapon /dev/newpaging (To deactivate paging space)
The paging space is deactivated, then that paging space entry is removed from /etc/swapspaces
AIX - Paging - List Paging Space
Using lsps command we can view the paging space details
#lsps –a (It will display the paging space details)
AIX - Paging - Remove Paging Space
Using rmps command we can remove the paging space
#rmps newpaging
NOTE:
Before removing the paging space, paging space should be offline, then we can remove the paging space, otherwise it will giv
Welcome to My Technology Blog Hi, I’m Sandeep Kumar, Founder of Tanti Technologies and a Data Scientist & Technology Leader with 10+ years of experience in Data, Cloud, AI, DevOps, AIX, and Linux. Through this blog, I share practical insights, technical guides, real-world solutions, and industry knowledge covering Data Engineering, Cloud, DevOps, AI/ML, GenAI, and Agentic AI. My goal is to simplify complex technologies and help professionals learn, build, automate, and innovate.
Tanti Technology
- sandeep tanti
- Bangalore, karnataka, India
- Sandeep Kumar | Founder, Tanti Technologies At Tanti Technologies, I share practical knowledge, hands-on tutorials, and real-world solutions across Python, SQL, Docker, Kubernetes, CI/CD, AWS, Azure, Machine Learning, Generative AI, and Agentic AI. My mission is to simplify complex technologies and provide actionable insights that help developers, engineers, and businesses learn faster, build better, automate smarter, and innovate with confidence. 🚀 Learn • Build • Automate • Innovate Follow Tanti Technologies for practical technology insights and next-generation AI solutions.
No comments:
Post a Comment