mpstat
Report CPU statistics. More information: <https://manned.org/mpstat>.
Install
- All systems
-
curl cmd.cat/mpstat.sh
- Debian
-
apt-get install sysstat - Ubuntu
-
apt-get install sysstat -
Alpine
-
apk add sysstat - Arch Linux
-
pacman -S sysstat - Kali Linux
-
apt-get install sysstat - CentOS
-
yum install sysstat - Fedora
-
dnf install sysstat - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install sysstat - Raspbian
-
apt-get install sysstat - Docker
-
docker run cmd.cat/mpstat mpstatpowered by Commando
Report CPU statistics. More information: <https://manned.org/mpstat>.
-
Display CPU statistics every 2 seconds:
mpstat 2 -
Display 5 reports, one by one, at 2 second intervals:
mpstat 2 5 -
Display 5 reports, one by one, from a given processor, at 2 second intervals:
mpstat -P 0 2 5
© tl;dr; authors and contributors