- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- deactivate swap memory
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-08-2004 10:01 PM
07-08-2004 10:01 PM
deactivate swap memory
thanks ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:11 PM
07-08-2004 10:11 PM
Re: deactivate swap memory
reboot
or
shutdown -r
Only way to deactivate the allocated swap space
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:13 PM
07-08-2004 10:13 PM
Re: deactivate swap memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:36 PM
07-08-2004 10:36 PM
Re: deactivate swap memory
# grep swapoff /usr/include/sys/scall_define.h
#define SYS_swapoff 77
Unfortunately it is not implemented. So you need to comment/remove the corresponding entry from /etc/fstab and reboot.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 12:25 AM
07-09-2004 12:25 AM
Re: deactivate swap memory
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 12:46 AM
07-09-2004 12:46 AM
Re: deactivate swap memory
Best to do it from SAM -> Disk and Filesystems -> Swap
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 02:42 AM
07-09-2004 02:42 AM
Re: deactivate swap memory
I believe you are talking about the "memory" line you see in your 'swapinfo' output. That's pseudoswap and is simply nothing but a number, nearly 75% of the physical memory alloted at boot time. It allows you to configure lower device swaps and it is particularly useful if you have tonnes of physical memory on the systems. It does no harm on systems with larger memories, but may cause a hiccups on small systems only if you configured too little device swap.
If you want to get rid of it, you will need to make 'swapmem_on' kernel paramter to 0, configure the kernel and reboot the system. You can use SAM to do it for you.
-Sri