- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- interpret 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
Forums
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
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
тАО02-20-2002 07:53 AM
тАО02-20-2002 07:53 AM
what is the diff btw buff and cache col of vmstat output. Here's an example output: "
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
3 0 0 4276 5496 17216 124056 0 0 0 0 120 329 0 0 100
3 0 0 4276 5448 17216 124100 0 0 5 0 203 660 13 1 86
2 0 0 4276 5408 17216 124124 0 0 0 0 177 598 11 1 88
2 0 0 4276 5408 17216 124124 0 0 0 22 323 789 2 1 96
0 0 0 4276 5408 17216 124124 0 0 0 0 173 440 1 0 99
1 0 0 4276 4584 17216 124948 0 0 0 0 253 589 9 2 89
0 0 0 4276 4580 17216 124948 0 0 0 0 103 245 0 0 100
2 0 0 4276 4580 17216 124948 0 0 0 0 101 246 0 0 100 "
Thanks for your input.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 05:46 AM
тАО02-22-2002 05:46 AM
Re: interpret vmstat output
http://www.sun.com/sun-on-net/itworld/UIR960901perf.html;$sessionid$3NXT33HVGWUARAMTA1LU4GQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 06:44 AM
тАО02-22-2002 06:44 AM
Re: interpret vmstat output
I've have problem accessing the link. please verify. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 06:58 AM
тАО02-22-2002 06:58 AM
Re: interpret vmstat output
yea, it works fine.. there's probably some cookie thing..
Try from here if the above doesn't work directly..
http://www.sun.com/sun-on-net/itworld/
some good stuff there really.
Later,
bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 01:39 PM
тАО02-22-2002 01:39 PM
Re: interpret vmstat output
You can get a lot of information by using the "man vmstat" command in linux. You'll find there the definitions but making sense of all this data is a different matter though. Here's a basic scoop:
r: This is the number of processes waiting to run. The more load on the system, the higher this number tends to be. This is related directly to the indicators you see when you use "uptime", "w" and "top" (only those are averages)
b: This is the number of blocked processes. They may be waiting for I/O or something else. Ideally, this should be very close to 0 all the time.
w: Number of processes swapped out.
swpd/free/buff: Memory information. Please note that "free" doesn't show the real free memory. The kernel is intelligent enough to divert unused memory to buffers. You should be really concerned if free AND cache AND buffers start to get low...
si/so: Amount of memory (KB/s) swapped in/out. Keep an eye for high numbers here, meaning excessive swapping/paging.
bi/bo: Blocks device I/O (in locks/second)
us/sy/id: Percentage of time spent in User time, System Time and Idle.
Hope it helps
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2002 01:36 PM
тАО02-25-2002 01:36 PM
SolutionCache has file data blocks, and memory mapped information (i.e. files mapped with mmap() calls). It's accessed primarily via inode number.
So, the main difference would be scope, I guess. One's more concerened with blocks on a device, the other with information in a file.
Either buffer can flush to disk, however. The buffer to the device file and the cache through the file system layer to the block device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2002 07:22 AM
тАО02-28-2002 07:22 AM
Re: interpret vmstat output
since Linux (possibley Solaris) handles memory diffrently than HP-UX, then How do you know how much is free. This is under the assumption that everytime I start up my Linux server, there doesn't seem to be a lot of memory on the free col. There's nothing running on it. Does this mean free does not really mean free?
Can someone give a short concepts of how Linux uses memory? Does it cache everyting during boot up? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2002 09:32 AM
тАО02-28-2002 09:32 AM
Re: interpret vmstat output
You will always have some cache or buffer usage on your system because data has to go through there from being modified in memory to the disk, and from the disk into memory.
Cache will grow and shrink more than buffer, I think.
Looking at "Free Mem" in top really isn't a good judge of system performance, memory wise. What you want to be aware of is how much swap it's using. If you are using a good deal of swap (more than a couple meg), that's a good indication you need more memory