- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap space implementation on HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 03:46 PM
тАО06-16-2006 03:46 PM
Swap space implementation on HP-UX
I am trying to implement a function on HP-UX B 11.11i arch system to find the swap space.
We have a command "swap" in case of Solaris and "free" in case of Linux.
Is there any equivalent command on HP-UX??
I need to know both free as as well as used swap space..
thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 03:58 PM
тАО06-16-2006 03:58 PM
Re: Swap space implementation on HP-UX
My preferred usage is 'swapinfo -tam'. 'man swapinfo' for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 04:09 PM
тАО06-16-2006 04:09 PM
Re: Swap space implementation on HP-UX
If you want to add swap:
1) lvcreate -L #### -n swap -C y -r n /dev/vg##
-L for size of logical volume in MB. -L 1000, for example.
-n for 'name' of logical volume, for example 'swap'.
2) swapon -f -p 1 /dev/vg##/swap
3) sysdef | grep -i maxswapchunks
Note the size of the kernel parameter 'maxswapchunks'
4) sysdef | grep -i swchunk
Note the size of the kernel parameter 'swchunk'
5) Calculate the new value of 'maxswapchunks'
maxswapchunks = total swap / 1024 * swchunk
If you decide to change maxswapchunks answer back and I'll show you how. And paste in these values so I can verify your calculations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 04:48 PM
тАО06-16-2006 04:48 PM
Re: Swap space implementation on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2006 07:05 PM
тАО06-18-2006 07:05 PM
Re: Swap space implementation on HP-UX
if you have 32GB of ram, and only create a swap of 8GB it should figure it out by itself what to do with it. allocate what, where and just do it's thing and don't bother me with such details.