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 update
sudo apt-get install sysstat
- Raspbian
-
apt-get install sysstat
- Dockerfile
- dockerfile.run/mpstat
- Docker
-
docker run cmd.cat/mpstat mpstat
powered 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