Perfmon
Perfmon is a TUI that shows essential performance monitoring commands in one place. It uses a tabbed approach for showing the results, making it quick to find stats in one place.
Perfmon in Action with default settings
Perfmon in Action with Toml file using user defined commands
Features
- Tabbed command output with keyboard navigation
- Summary strip with sparklines (load, CPU, memory, network)
- Disabled tab detection with install hints
- Configurable tabs via TOML
- Theme toggle (
t)
Usage
Quit with q, Q, Esc, or Ctrl+C.
Version
Configuration
Perfmon can load a custom tab list from a TOML file. Search order:
PERFMON_CONFIGenv var (full path)$XDG_CONFIG_HOME/perfmon/config.toml(or~/.config/perfmon/config.toml)./perfmon.toml
Example perfmon.toml:
# Global refresh rate (default: 5s) global_refresh_interval = "5s" [[tab]] title = "uptime" cmd = ["uptime"] [[tab]] title = "top (fast)" cmd = ["top", "-b", "-n", "1"] refresh_interval = "1s" # Override global rate
Default Commands
If no configuration file is found, Perfmon falls back to a sensible default set:
- Load:
uptime - CPU:
vmstat(ormpstat) - Memory:
free -m(Linux) orvm_stat(macOS) - Net:
/proc/net/dev(Linux) ornetstat(macOS) - Top:
top
Development
See CONTRIBUTING.md for instructions on how to set up your development environment and contribute to the project.

