- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root swap size
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
05-12-2005 03:53 AM
05-12-2005 03:53 AM
root swap size
I am looking for "root swap" size of this system. Is it the size of dev in swapinfo -tam?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 03:56 AM
05-12-2005 03:56 AM
Re: root swap size
# lvdisplay /dev/vg00/lvol2
# swapinfo -tam
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:05 AM
05-12-2005 04:05 AM
Re: root swap size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:08 AM
05-12-2005 04:08 AM
Re: root swap size
# swapinfo -atm
This will tell you what swaps exist (if more than 1 it will tell you so and where), what sizes, how used, etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:29 AM
05-12-2005 04:29 AM
Re: root swap size
or
lvdisplay /dev/vg00/lvol2
will display the primary swap space size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:31 AM
05-12-2005 04:31 AM
Re: root swap size
will tell you on which logical volume and disk the primary swap is on, in case it isn't the default of /dev/vg00/lvol2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 07:00 AM
05-12-2005 07:00 AM
Re: root swap size
swapinfo -tam will list all the configured swap .
You can find the size of configured swaps in
Second column of swapinfo o/p which is "Mb Available"
If you need to find out size of primary swap then do lvlnboot -v and see whcih LV is configured as Primary swap (primary swap is the swap available to system during system booting )".
Thanks,
BL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 08:07 AM
05-12-2005 08:07 AM
Re: root swap size
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 01:10 AM
05-16-2005 01:10 AM
Re: root swap size
swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2560 112 2448 4% 0 - 1 /dev/vg00/lvol2
reserve - 1296 -1296
memory 1533 570 963 37%
total 4093 1978 2115 48% - 0 -
From this Output Look at the first line starts with dev, this is the primary swap.
In My system PCT USED column is > 0% (4%), this means my system is swapping. This also means There is not enough RAM in the system. I can add secondary dev swap. There are 2 kinds of swap 1) dev swap 2) FS swap.
2 ways to stop swapping. 1) Add more RAM 2) Reduce Process.
Thanks
Basheer