LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 0
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:

Quote:
FIELD DESCRIPTION FOR DISK MODE
Reads
total: Total reads completed successfully
merged: grouped reads (resulting in one I/O)
sectors: Sectors read successfully
ms: milliseconds spent reading

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

IO
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?

Hugh
 
  


Reply


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 10:21 AM
Different results from vmstat and ps alburdet619 Linux - Newbie 11 06-28-2010 11:03 AM
Different results from vmstat and ps alburdet619 Linux - General 1 06-25-2010 12:08 PM
vmstat lucifer_smiles Linux - Server 1 01-29-2008 06:09 PM
Ran cheops-ng, need help understanding the results Tortanick Linux - Networking 0 01-06-2007 09:28 AM


All times are GMT -5. The time now is 07:53 AM.

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