Working and tested on Linux, FreeBSD and macOS. Windows support is planned. OpenBSD works with some caveats.
go get github.com/cjbassi/gotop
Note: Doesn't require Go.
git clone --depth 1 https://github.com/cjbassi/gotop /tmp/gotop /tmp/gotop/scripts/download.sh
gotop into your
gotop-git from the AUR.
pkg install gotop
brew tap cjbassi/gotop brew install gotop
snap install gotop-cjbassi
Note: You may need to enable certain permissions for all of the widgets to work:
snap connect gotop-cjbassi:hardware-observe snap connect gotop-cjbassi:mount-observe snap connect gotop-cjbassi:system-observe
- Process navigation
<C-u>: half page up
<C-d>: half page down
<C-b>: full page up
<C-f>: full page down
<Home>: jump to top
<End>: jump to bottom
- Process actions:
<Tab>: toggle process grouping
dd: kill selected process or group of processes
- Process sorting
- CPU and Mem graph scaling:
h: scale in
l: scale out
?: toggles keybind help menu
- click to select process
- mouse wheel to scroll through processes
gotop ships with a few colorschemes which can be set with the
-c flag followed by the name of one. You can find all the colorschemes in the colorschemes folder.
To make a custom colorscheme, check out the template for instructions and then use default.json as a starter. Then put the file at
~/.config/gotop/<name>.json and load it with
gotop -c <name>. Colorschemes PR's are welcome!
--color=NAME Set a colorscheme.
--minimal Only show CPU, Mem and Process widgets.
--rate=RATE Number of times per second to update CPU and Mem widgets [default: 1].
--version Print version and exit.
--percpu Show each CPU in the CPU widget.
--averagecpu Show average CPU in the CPU widget.
--statusbar Show a statusbar with the time.
--battery Show battery level widget (
minimal turns off). preview
--interface=NAME Select network interface [default: all].