- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending Device Swap & clearing swap without ...
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
Forums
Discussions
Discussions
Discussions
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
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
07-22-2003 04:59 AM
07-22-2003 04:59 AM
Extending Device Swap & clearing swap without restart
1)Is there any way to extend device swap on discontigous disk space on same disk.
2) Is there any way to clear swap without restarting system
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:02 AM
07-22-2003 05:02 AM
Re: Extending Device Swap & clearing swap without restart
1) Yes, you can enable swap anytime with the swapon command. Use SAM or the command line to set up your swap area, then use the swapon command to enable it.
2) No, not really. You could stop all the processes running on the machine and they should release whatever memory (real or virtual) they hold, but that's about it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:08 AM
07-22-2003 05:08 AM
Re: Extending Device Swap & clearing swap without restart
1) Impossible to extend primary swap as there won't be contigous space. BUT you can add secondary swap on same (not recommended) are another disk. You have to make sure your maxswapchunks & swchunk kernel parms will support the extra swap space. You should use another disk to "spread the load" of swap access across disks. In fact I'd recommend you set the extra swap with a priority that will cause the system to use it first. Taking the load off the vg00 disk would be a good thing.
2) Not that I'm aware of. You could stop ALL programs to the point that nothing is using swap or reserving space, but that's no guarantee that *nothing* at all will be using it or reserving space in it as the OS itself may be doing so.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:44 AM
07-22-2003 05:44 AM
Re: Extending Device Swap & clearing swap without restart
2) no, you can't clear swap once it has been activated without a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 06:06 AM
07-22-2003 06:06 AM
Re: Extending Device Swap & clearing swap without restart
I believe that swap areas at least primary must be contiguous.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com