Difference between pages "File:Snapshot-gnuplot.png" and "Iostat"

From Linuxintro
(Difference between pages)
(Maintenance script uploaded "File:Snapshot-gnuplot.png": Importing image file)
 
imported>ThorstenStaerk
(New page: iostat is a program that shows how many I/O operations happen in a specified timeframe. = Install it = To install iostat, install the package sysstat. For example with SUSE Linux 11.3...)
 
Line 1: Line 1:
 +
iostat is a [[program]] that shows how many I/O operations happen in a specified timeframe.
  
 +
= Install it =
 +
To install iostat, install the package sysstat. For example with SUSE Linux 11.3 you [[open a console]] and enter:
 +
yast -i sysstat
 +
 +
= Run it =
 +
Just call IOstat plus the time interval in seconds:
 +
<pre>
 +
# iostat 10
 +
Linux 2.6.34.7-0.5-desktop (tweedleburg)        12/11/10        _x86_64_        (8 CPU)
 +
 +
avg-cpu:  %user  %nice %system %iowait  %steal  %idle
 +
          0.67    0.00    0.17    0.07    0.00  99.09
 +
 +
Device:            tps  Blk_read/s  Blk_wrtn/s  Blk_read  Blk_wrtn
 +
sdb              1.35        5.76        28.55    1387011    6870465
 +
sda              1.35        5.56        28.55    1337701    6870465
 +
md126            4.26        11.32        28.38    2723674    6830024
 +
</pre>
 +
You will get a new block every 10 seconds in this case.

Revision as of 13:57, 11 December 2010

iostat is a program that shows how many I/O operations happen in a specified timeframe.

Install it

To install iostat, install the package sysstat. For example with SUSE Linux 11.3 you open a console and enter:

yast -i sysstat

Run it

Just call IOstat plus the time interval in seconds:

# iostat 10
Linux 2.6.34.7-0.5-desktop (tweedleburg)        12/11/10        _x86_64_        (8 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.67    0.00    0.17    0.07    0.00   99.09

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sdb               1.35         5.76        28.55    1387011    6870465
sda               1.35         5.56        28.55    1337701    6870465
md126             4.26        11.32        28.38    2723674    6830024

You will get a new block every 10 seconds in this case.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:34, 13 January 2021Thumbnail for version as of 14:34, 13 January 2021648 × 470 (38 KB)Maintenance script (talk | contribs)

The following page uses this file:

Metadata