iostat

Report statistics for devices and partitions. More information: <https://manned.org/iostat>.

Install

All systems
curl cmd.cat/iostat.sh
Debian Debian
apt-get install sysstat
Ubuntu
apt-get install sysstat
Alpine
apk add sysstat
Arch Arch Linux
pacman -S sysstat
image/svg+xml Kali Linux
apt-get install sysstat
CentOS
yum install sysstat
Fedora
dnf install sysstat
Windows (WSL2)
sudo apt-get update sudo apt-get install sysstat
Raspbian
apt-get install sysstat
Docker
docker run cmd.cat/iostat iostat powered by Commando

Report statistics for devices and partitions. More information: <https://manned.org/iostat>.

  • Display a report of CPU and disk statistics since system startup:
    iostat
  • Display a report of CPU and disk statistics with units converted to megabytes:
    iostat -m
  • Display CPU statistics:
    iostat -c
  • Display disk statistics with disk names (including LVM):
    iostat -N
  • Display extended disk statistics with disk names for device "sda":
    iostat -xN sda
  • Display incremental reports of CPU and disk statistics every 2 seconds:
    iostat 2

© tl;dr; authors and contributors