LinuxQuestions.org
Visit Jeremy's Blog.
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 04-24-2009, 04:18 PM   #1
bichonfrise74
LQ Newbie
 
Registered: Jul 2008
Posts: 24

Rep: Reputation: 15
Question Output of iostat


Hi,

I'm writing a script which parses the iostat and transform it to something more meaningful. My question is whether the output of iostat specifically iostat -x is the same for all Linux distribution.

If they are not the same, is the difference because of the linux version or because of the iostat version?

Thanks.
 
Old 04-24-2009, 04:32 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by bichonfrise74 View Post
Hi,

I'm writing a script which parses the iostat and transform it to something more meaningful. My question is whether the output of iostat specifically iostat -x is the same for all Linux distribution.

If they are not the same, is the difference because of the linux version or because of the iostat version?

Thanks.
Even basic commands can have differences between distributions. The version of iostat will be different between versions and further different distributions like debian and red hat also often make minor modifications of the programs also. You cannot count on them displaying the information the same way every time.

Additionally, I've seen several customized versions of sysstat floating around, so I would be exceptionally careful about making any assumptions. That being said, here's output of iostat -x on my debian lenny system.

Code:
core:~# iostat -x
Linux 2.6.26-1-686 (core)       04/24/2009      _i686_

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           2.54    0.00    0.28    1.16    0.00   96.02

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.08    10.76    1.02    9.61    27.81   164.15    18.06     0.40   37.48   1.48   1.57
sda1              0.00     0.00    0.00    0.00     0.00     0.01    49.36     0.00   17.30   5.29   0.00
sda2              0.00     0.00    0.00    0.00     0.01     0.01    47.86     0.00    5.71   4.52   0.00
sda3              0.08    10.75    1.01    9.61    27.80   164.13    18.06     0.40   37.49   1.48   1.57
 
Old 04-25-2009, 11:54 AM   #3
bichonfrise74
LQ Newbie
 
Registered: Jul 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks. Is there somewhere where I can test the output of iostats without installing all the different distributions myself?

I mean I can go to a website and run the iostats command and see the result...
 
  


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
dm0 in iostat??? your_shadow03 Linux - Newbie 6 08-28-2009 02:44 PM
iostat -En rajaniyer123 Solaris / OpenSolaris 1 01-06-2009 08:48 PM
mapping mount points to iostat output DotHQ Linux - Enterprise 1 04-18-2007 10:56 AM
iostat Volcano Linux - Newbie 3 10-04-2005 09:28 AM
iostat FragInHell Solaris / OpenSolaris 2 07-02-2004 05:02 AM


All times are GMT -5. The time now is 12:48 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