iostat - Report CPU statistics and i/o statistics for devices and partitions

To display report for all CPU and devices
$ iostat

To display the CPU utilization report
$ iostat -c

To display continuous CPU utilization report at specific seconds interval 
$ iostat -c 5
$ iostat -c 10

To display the device utilization report
$ iostat -d

To display specific device utilization reports at specific second intervals
$ iostat -d 5 5
$ iostat -d 3 10

To display the registered device mapper names
$ iostat -N

To display the report in human-readable format
$ iostat -h

To  view the extended statistics
$ iostat -x

To display the timestamp for each report
$ iostat -t

To display statistics for a specific device and its partitions
$ iostat -p sda
$ iostat -p vda

To display statistics for all the block devices and partitions
$ iostat -p ALL

To display statistics for a group of devices
$ iostat -g docker
$ iostat -g kvm
$ iostat -g sudo

To print output in JSON format
$ iostat -c -o JSON



regards,
T.Dhanasekar