- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swapinfo VS Memdetail
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
тАО11-08-2008 09:37 PM
тАО11-08-2008 09:37 PM
In checking the swap usage of the server which should be follow, swapinfo or memdetail?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2008 09:41 PM
тАО11-08-2008 09:41 PM
Re: Swapinfo VS Memdetail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2008 02:00 AM
тАО11-09-2008 02:00 AM
SolutionTwo different utilities written, using two different concepts to report.
You might wish to provide an example of what the discrepancy really is.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2008 04:22 AM
тАО11-09-2008 04:22 AM
Re: Swapinfo VS Memdetail
$ /usr/sbin/swapinfo -tamd
Mb Mb Mb PCT Mb
TYPE AVAIL USED FREE USED START RESERVE PRI NAME
dev 2048 68 1980 3% 0 - 1 /dev/vg00/lvol2
total 2048 68 1980 3% - 0 -
$ /opt/HPO/SMSPIv2/bin/memdetail
Memory Stat total used avail %used
physical 1022.0 931.0 91.0 91%
active virtual 472.0 401.1 70.9 85%
active real 134.6 115.6 19.0 86%
memory swap 721.1 663.4 57.7 92%
device swap 2048.0 264.2 1783.8 13%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2008 05:10 AM
тАО11-09-2008 05:10 AM
Re: Swapinfo VS Memdetail
-d
Print information about device paging areas only. This modifies the output header appropriately.
When you tell swapinfo to only report on devices, you shouldn't be surprised when the memory swap line is missing.
"swapinfo -atm" should look right (memdetail and swapinfo certainly agree on what swapinfo reported).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2008 03:42 PM
тАО11-09-2008 03:42 PM
Re: Swapinfo VS Memdetail
$ /opt/HPO/SMSPIv2/bin/memdetail
Memory Stat total used avail %used
physical 1022.0 935.4 86.6 92%
active virtual 471.7 407.9 63.8 86%
active real 137.4 121.7 15.7 89%
memory swap 721.1 663.4 57.7 92%
device swap 2048.0 263.9 1784.1 13%
$ /usr/sbin/swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 66 1982 3% 0 - 1 /dev/vg00/lvol2
reserve - 198 -198
memory 721 663 58 92%
total 2769 927 1842 33% - 0 -
- When speaking of swap usage we are talking about device right?
- But how come the device swap usage is different from the memdetail and swapinfo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 02:27 AM
тАО11-10-2008 02:27 AM
Re: Swapinfo VS Memdetail
Where is device swap value is varied on memdetail and swapinfo output?
memdetail report:
------------------
device swap 2048.0 263.9 1784.1 13%
swapinfo report:
----------------
dev 2048 66 1982 3% 0 - 1 /dev/vg00/lvol2
both are showing 2GB as device swap. it is correct only...
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 02:44 AM
тАО11-10-2008 02:44 AM
Re: Swapinfo VS Memdetail
Not really. There is device and there is pseudo swap.
>But how come the device swap usage is different from the memdetail and swapinfo.
You are going to have to point to the difference. Ganesan and I don't see any, at least for the total. For pseudo swap, it is the same for all values.
For memdetail, it seems it doesn't separate the reserved line from the used device swap. Summing the two from swapinfo, matches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 03:34 AM
тАО11-10-2008 03:34 AM
Re: Swapinfo VS Memdetail
Is the reserve line considered as a normal swap?
What is the purpose of this reserve swap anyway?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 03:39 AM
тАО11-10-2008 03:39 AM
Re: Swapinfo VS Memdetail
The reserve line is just details of how device swap is used. It basically says that the space has been reserved but hasn't been touched or swapped back to disk yet.