pidstat
Show system resource usage, including CPU, memory, IO etc. More information: <https://manned.org/pidstat>.
Install
- All systems
-
curl cmd.cat/pidstat.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/pidstat pidstatpowered by Commando
Show system resource usage, including CPU, memory, IO etc. More information: <https://manned.org/pidstat>.
-
Show CPU statistics at a 2 second interval for 10 times:
pidstat 2 10 -
Show page faults and memory utilization:
pidstat -r -
Show input/output usage per process id:
pidstat -d -
Show information on a specific PID:
pidstat -p PID -
Show memory statistics for all processes whose command name include "fox" or "bird":
pidstat -C "fox|bird" -r -p ALL
© tl;dr; authors and contributors