psitop - top for /proc/pressure.
Allows you to see resource contention for CPU, IO and memory separately, with high-resolution 10 second load averages.
First, note that psitop needs to read /proc/pressure
, which requires Linux
kernel version 4.20 or higher. Your distribution might disable /proc/pressure
by default - if so, you'll need to enable it before using this tool.
go install github.com/jamespwilliams/psitop@latest
psitop
If you have Nix installed and flakes enabled:
nix run github:jamespwilliams/psitop
docker run -it jamespwilliams/psitop:latest
psitop
is in the AUR: https://aur.archlinux.org/packages/psitop.
Use the keybindings shown in the interface.
Consider trying out a tool like stress
while running psitop
to see how psitop
displays resource contention.