A terminal based graphical activity monitor inspired by gtop and vtop
Another terminal based graphical activity monitor, inspired by gtop and vtop, this time written in Go!
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.
Clone the repo and then run scripts/download.sh to download the correct binary for your system from the releases tab:
git clone --depth 1 https://github.com/cjbassi/gotop /tmp/gotop /tmp/gotop/scripts/download.sh
Then move
gotopinto your
$PATHsomewhere.
Install
gotop,
gotop-bin, or
gotop-gitfrom 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
qor
kand : up
jand
: down
ggand : jump to top
Gand : jump to bottom
dd: kill selected process or group of processes
c: CPU
m: Mem
p: PID
h: scale in
l: scale out
?: toggles keybind help menu
gotop ships with a few colorschemes which can be set with the
-cflag 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/.jsonand load it with
gotop -c. Colorschemes PR's are welcome!
-c,
--color=NAMESet a colorscheme.
-m,
--minimalOnly show CPU, Mem and Process widgets.
-r,
--rate=RATENumber of times per second to update CPU and Mem widgets [default: 1].
-V,
--versionPrint version and exit.
-p,
--percpuShow each CPU in the CPU widget.
-a,
--averagecpuShow average CPU in the CPU widget.
-s,
--statusbarShow a statusbar with the time.
-b,
--batteryShow battery level widget (
minimalturns off). preview
-i,
--interface=NAMESelect network interface [default: all].