Pages

Tuesday, April 12, 2016

iostat command one liners

Home

To displays the device I/O statistics in Blocks. (default option)

# iostat

To display only the CPU usage statistics

# iostat –c

To display only the disk I/O statistics

# iostat -d

To displays only the device and NFS statistics

# iostat -n

To displays the device I/O statistics in Blocks in MB

# iostat -m

To displays I/O data for specific disks available in the system

# iostat -p sda

To display the current time in iostat

# iostat -t

To display extended status

# iostat -x

To display extended information for a specific partition

# iostat -x sda1

To execute iostat every 2 seconds (until you press Ctl-C)

# iostat 2

To execute every 2 seconds for a total of 3 times

# iostat 2 3

To display the LVM statistics

# iostat -N

To display the version of iostat


# iostat -V


Back To Top
Home

No comments:

Post a Comment