LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2014, 07:51 AM   #1
jgoh
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Rep: Reputation: Disabled
CentOS: Iostat read/s and write/s statistics contains decimal


Hi All,

I use iostat to monitor disk utilization for CentOS servers via a periodical cron of iostat -x with time stamp.

Anyway, notice that the stats (read/second & write/second included) contains decimals.

Device: r/s w/s
sda 0.35 1.44

I was expecting the result to be a whole number. The man page does not seem to explain how iostat arrives at the decimaled value. Can anyone shed some light on this?

Last edited by jgoh; 06-04-2014 at 07:58 AM.
 
Old 06-04-2014, 08:23 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,417

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
Why - it's a rate per second.
 
Old 06-04-2014, 11:22 AM   #3
jgoh
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
I just realized how silly this question is. Thanks svg00.

Last edited by jgoh; 06-04-2014 at 11:28 AM.
 
Old 06-04-2014, 07:42 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,417

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
Not silly to ask - sillier to continue on not knowing.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a wrapper script for iostat srrijith Linux - Newbie 20 12-10-2010 07:30 AM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - Newbie 16 09-01-2010 09:07 AM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - General 2 08-26-2010 03:32 PM
read and write statistics cip2 Linux - Newbie 1 04-27-2005 10:39 AM


All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration