- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Question on swapinfo
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
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
12-31-2003 08:01 PM
12-31-2003 08:01 PM
Question on swapinfo
We have a 712MB swap space.
We added a 10MB file system swap space with swapon with the following inputs.
swapminimum - 0
swapmaximum - 10MB
reserved - 0
priority - 1
When we ran the swapinfo the following was the output
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 524288 42208 482080 8% 0 - 1 /dev/vg00/lvol2
dev 204800 41224 163576 20% 0 - 1 /dev/vg00/swap1
localfs 10240 0 10240 0% 10240 0 1 /home1/paging
reserve - 350048 -350048
memory 381360 229536 151824 60%
However, if we just run the following, to get the maximum swap space,
echo swapspc_max/D|adb -k /stand/vmunix /dev/kmem|tail -1
shows only 712 instead of 722.
Do we need to reboot for the kernel parameters to get updated?
Thanks
Padmini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2003 08:12 PM
12-31-2003 08:12 PM
Re: Question on swapinfo
We used sam to add this swap. Does that make a difference?
Thanks
Padmini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2003 08:20 PM
12-31-2003 08:20 PM
Re: Question on swapinfo
swapinfo -a
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2003 08:29 PM
12-31-2003 08:29 PM
Re: Question on swapinfo
The output of swapinfo -a is as follows:
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 524288 42208 482080 8% 0 - 1 /dev/vg00/lvol2
dev 204800 41224 163576 20% 0 - 1 /dev/vg00/swap1
localfs 10240 0 10240 0% 10240 0 1 /home1/paging
reserve - 351140 -351140
memory 381360 229536 151824 60%
Thanks
Padmini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 05:41 AM
01-01-2004 05:41 AM
Re: Question on swapinfo
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 07:10 PM
01-01-2004 07:10 PM
Re: Question on swapinfo
I would like to point out that your localfs swap space has the same proi as the swap lvols. I should change that also if you reboot to alter maxswapchunks..
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 01:04 AM
01-02-2004 01:04 AM
Re: Question on swapinfo
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:48 AM
01-02-2004 03:48 AM
Re: Question on swapinfo
Then run #swapon -a to activate the swap.
Verify with the command # swapinfo -a
or #swapinfo -atm
No need to reboot the system to activate the newly created swap space, provided /etc/fstab entries are correct before activating it.
-Srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 04:04 AM
01-02-2004 04:04 AM
Re: Question on swapinfo
but is only a file system of 10MB space. Also give the correct priority.
-Srini