- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- vmstat vs top
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
тАО05-17-2007 09:51 AM
тАО05-17-2007 09:51 AM
vmstat shows the next
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 0 0 1249634 1567471 182 59 0 0 0 0 0 1320 104945 12977 5 49 45
and top
System: htx668 Thu May 17 16:28:58 2007
Load averages: 0.04, 0.03, 0.04
284 processes: 235 sleeping, 49 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.07 0.2% 0.0% 0.2% 99.6% 0.0% 0.0% 0.0% 0.0%
1 0.04 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%
2 0.05 0.0% 0.0% 3.0% 97.0% 0.0% 0.0% 0.0% 0.0%
3 0.00 5.2% 0.0% 6.4% 88.4% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.04 1.4% 0.0% 2.4% 96.2% 0.0% 0.0% 0.0% 0.0%
Memory: 5684000K (3830848K) real, 6893300K (4889776K) virtual, 6269244K free Page# 1/18
So I haven't match for any way those results :(
Solved! Go to Solution.
- Tags:
- vmstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 10:13 AM
тАО05-17-2007 10:13 AM
Re: vmstat vs top
Top is one of the worst utilities to use to check memory usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 10:47 AM
тАО05-17-2007 10:47 AM
Re: vmstat vs top
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 02:20 PM
тАО05-17-2007 02:20 PM
Re: vmstat vs top
Since we're covering memory usage I'd like to know your opinion/answer on the following:
If you have a machine that is running out of memory or thrashing, what will you address first? The paging or the swap?
Personally I'm not aware of anything you can do for how the system does its Paging.
Also Clay, according to what you're stating regarding the usefulness of vmstat is this just for HP-UX or is the issue across the other Unix flavors as well?
Apologies for the hijack, but for what its worth HP-UX has a lot better tools than both.. eg. glance.
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 02:42 PM
тАО05-17-2007 02:42 PM
Re: vmstat vs top
Regardless of the UNIX flavor, I really only pay attention to the pageout column because if that number is big (meaning anything over about 20 or so and I really like 0), none of the other columns mean much of anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 03:32 PM
тАО05-17-2007 03:32 PM
Re: vmstat vs top
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2007 01:22 AM
тАО05-18-2007 01:22 AM
Re: vmstat vs top
top is used to see the current user's memory utilization. Whereas, vmstat is used for virtual memory statistics. So, it will differer in any case.
I think for Unix glance is better utility
Ciao
- Tags:
- glance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2007 01:15 PM
тАО05-18-2007 01:15 PM
Re: vmstat vs top
See if the box has OVPA (measureware). It will collect the data and you can extract historical data from your system on hundreds of metrics in 5 minute averages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 05:20 PM
тАО05-23-2007 05:20 PM
Re: vmstat vs top
Glanceplus and Openview(OVO is userfriendly and given more info) are the best utility to check allmost all system componets like memory,cpu,disk etc
rgds
suresh