gotop
Terminal-based graphical activity monitor
TLDR
SYNOPSIS
gotop [options]
DESCRIPTION
gotop is a terminal-based graphical activity monitor inspired by gtop and vtop. It displays CPU, memory, disk, network, and process information with ASCII graphs in real-time widget panels.Color schemes like monokai, solarized, and vice change the appearance. Custom layouts with -l allow rearranging and resizing widgets using YAML format. Process sorting supports CPU, memory, and PID columns with filtering and kill capabilities.
PARAMETERS
-c, --color scheme
Color scheme: default, monokai, solarized, vice, etc.-p, --percpu
Show each CPU core separately.-a, --averagecpu
Show average CPU usage.-m, --minimal
Minimal terminal UI.-b, --battery
Show battery widget.-r, --rate duration
Update interval. Default: 1s.-i, --interface name
Network interface filter.-l, --layout name
Named or custom layout (e.g. minimal, battery, kitchensink).--nvidia
Enable NVIDIA GPU stats (requires nvidia-smi).--list keys|colorschemes
Print available key bindings or built-in color schemes and exit.--write-config
Persist current flags to the config file.--no-cpu
Disable CPU widget.--no-disk
Disable disk widget.--no-mem
Disable memory widget.--no-net
Disable network widget.-V, --version
Display version information.-h, --help
Display help information.
CONFIGURATION
~/.config/gotop/layout
Custom layout file defining widget placement in YAML format.~/.config/gotop/colorscheme
Custom color scheme definitions.
KEYBOARD COMMANDS
q, Ctrl+c
Quit.Tab
Move to next widget.j/k or Down/Up
Scroll process list.g/G
Go to top/bottom of list.d
Kill selected process./
Filter processes.h
Toggle help.c
Sort by CPU.m
Sort by memory.p
Sort by PID.
INSTALL
CAVEATS
NVIDIA GPU monitoring requires the nvidia-smi binary to be present; no AMD GPU support. Some metrics may be platform-specific (Windows support is limited compared to Linux/FreeBSD/macOS). Battery widget requires supported hardware. High update rates increase CPU usage.
HISTORY
gotop was originally created by Caleb Bassi (cjbassi) in 2018 as a Go rewrite of gtop. The original project was archived in 2020. A community fork maintained by xxxserxxx continues development with additional features and fixes. gotop brought the visual monitor style to Go with cross-platform support.