GNU/Linux Command – IOSTAT

iostat — Report IO Statistics of CPU and other IO Devices

Summary:
The iostat command is used for monitor the IO transfer rates and load of the CPU and Input/ Output devices on the system. This statistics (stats) report can be used to understand and optimize the system performance. Some options needs the new Linux Kernel 2.6.*

Examples:
$ iostat -- Show CPU and IO devices(mostly HDD) stats. $ iostat 6 -- Show the stats for every 6sec. $ iostat -t 6 -- Show the time in every report. $ iostat 6 3 -- Show the stats for every 6sec and 3 times. $ iostat -c -- Show only the CPU stats. $ iostat -d -- Show only the Device stats. $ iostat -n -- Show only the NFS stats. $ iostat -x -- Show extended stats. $ iostat -x sda -- Show the extended stats for the sda deviceonly. $ iostat -p ALL -- Show the stats of all block devices andpartitions. $ iostat -p ram0 -- Show the stats of the RAM0 disk.
Read: man iostat

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: