Skip to content

jamespwilliams/psitop

Repository files navigation

psitop

psitop - top for /proc/pressure.

Allows you to see resource contention for CPU, IO and memory separately, with high-resolution 10 second load averages.

screenshot of psitop

Running psitop

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

go install github.com/jamespwilliams/psitop@latest
psitop

Nix

If you have Nix installed and flakes enabled:

nix run github:jamespwilliams/psitop

Docker

docker run -it jamespwilliams/psitop:latest

Arch Linux

psitop is in the AUR: https://aur.archlinux.org/packages/psitop.

Usage

Use the keybindings shown in the interface.

Consider trying out a tool like stress while running psitop to see how psitop displays resource contention.