isotat

>Usage

Displays kernel In and Out statistics about the terminal, device and CPU operations by observing the time the devices are active in relation to their average transfer rates.

>Synopsis

iostat [option] [argument]

>Options

-c

The command -c <count> Repeats the display a chosen number of times.

Example 1:

Dots

-zsh

> iostat -c 5


disk0 cpu load average
KB/t tps MB/s us sy id 1m 5m 15m
22.42 24 0.53 4 3 93 4.72 3.52 2.84
16.25 32 0.51 2 2 97 4.72 3.52 2.84
62.44 36 2.19 3 2 95 4.66 3.53 2.85
0.00 0 0.00 2 1 97 4.66 3.53 2.85
0.00 0 0.00 1 1 97 4.66 3.53 2.85

-d

Only displays device statistics.

Example 2:

Dots

-zsh

> iostat -d


disk0
KB/t tps MB/s
22.42 24 0.53

-I

-I <time> displays the statistics after every time interval passed, a given time period instead of average during the time period.

Example 3:

Dots

-zsh

> iostat -I [10]


disk0 cpu load average
KB/t xfrs MB us sy id 1m 5m 15m
22.42 6331866 138626.55 4 3 93 1.93 2.67 2.64

-n

The command -n <devs>Displays only up to a chosen number of devices.

Example 4:

Dots

-zsh

> iostat -n [1]


10.50 3 0.03

-w

The -w <wait> pauses for a chosen number of seconds between each display, infinite by default.

Example 5:

Dots

-zsh

> iostat -w [2]


10.50 3 0.03 20.00 10 0.20

>Quiz

Progress: Question ? out of ?

Question Title

Page written by Matthias Tugcu