Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-24-2013, 01:03 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 3

Rep: Reputation: Disabled
Understanding vmstat -d results

I am trying to understand the values I am seeing in vmstat -d. In particular the time field for reading and writing. The man page states:

total: Total reads completed successfully
merged: grouped reads (resulting in one I/O)
sectors: Sectors read successfully
ms: milliseconds spent reading

total: Total writes completed successfully
merged: grouped writes (resulting in one I/O)
sectors: Sectors written successfully
ms: milliseconds spent writing

cur: I/O in progress
s: seconds spent for I/O
When I look at the values in the "ms" field they appear to an absolute count of time spent reading or writing to a particular device. Is this correct?

I tried deriving the amount of time spent during the inspection interval by taking the difference between intervals and dividing by 1000. After doing this I find that it sometimes reports more time reading or writing to a device than the length of inspection interval.

Can anybody explain what I am doing wrong or why this happening?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need some help understanding some java results. Fedora14 rmknox Programming 4 03-28-2011 11:21 AM
Different results from vmstat and ps alburdet619 Linux - Newbie 11 06-28-2010 12:03 PM
Different results from vmstat and ps alburdet619 Linux - General 1 06-25-2010 01:08 PM
vmstat lucifer_smiles Linux - Server 1 01-29-2008 07:09 PM
Ran cheops-ng, need help understanding the results Tortanick Linux - Networking 0 01-06-2007 10:28 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration