- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Understanding vmstat output!
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
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
тАО07-25-2006 06:50 PM
тАО07-25-2006 06:50 PM
Please can someone explain me how to interpret the output of vmstat?!?
Im asked to do a graphic report on % of CPU usage, physical memory usage as well as swap out of vmstat output. CPU usage is simple since i just have to take the rows of 'us' column, but for the physical memory and swap im quite confused, here's a sample output:
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 1 0 26889 120944 263 28 4 1 46 0 2 711 43510 982 26 9 65
1 1 0 25629 121292 327 41 10 0 56 0 0 547 12670 349 1 4 95
0 1 0 25594 120033 409 61 3 1 65 0 0 540 10636 691 10 5 85
3 1 0 22516 118281 203 36 1 0 35 0 0 478 17873 444 64 15 21
0 1 0 16041 121114 369 43 6 0 44 0 0 540 10142 314 9 7 84
0 1 0 20946 121098 293 31 3 0 32 0 0 531 31901 667 23 13 64
What unit AVM and the free columns are using ??? How can i use those values to get % of physical memory available and swap ??
If i do swapinfo -tam i get these:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 195 3901 5% 0 - 1 /dev/vg00/lvol2
reserve - 668 -668
memory 3111 2522 589 81%
total 7207 3385 3822 47% - 0 -
Which is pretty self-explanatory!!!
Any help would be greatly appreciated.
Thank You.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 06:56 PM
тАО07-25-2006 06:56 PM
Re: Understanding vmstat output!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 07:38 PM
тАО07-25-2006 07:38 PM
Re: Understanding vmstat output!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 07:50 PM
тАО07-25-2006 07:50 PM
Solutionso gettiing free column and multipleying it by 4096 will give value in KB. Then substract it from virtual mem (RAM + swap), that would give you % memory usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 08:25 PM
тАО07-25-2006 08:25 PM
Re: Understanding vmstat output!
Check this out : ftp://eh:spear9@hprc.external.hp.com/memory.htm
-Arun