Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gotop

> 编程语言
Open source

A terminal based graphical activity monitor inspired by gtop and vtop

7.4K stars0 likes0 views
WebsiteGitHub

About

A terminal based graphical activity monitor inspired by gtop and vtop

NO LONGER MAINTAINED. A maintained fork of gotop exists at https://github.com/xxxserxxx/gotop.

Installation

Working and tested on Linux, FreeBSD and macOS. Windows support is planned. OpenBSD works with some caveats.

Source

bash
go get github.com/cjbassi/gotop

Prebuilt binaries

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:

bash
git clone --depth 1 https://github.com/cjbassi/gotop /tmp/gotop
/tmp/gotop/scripts/download.sh

Then move gotop into your $PATH somewhere.

Arch Linux

Install gotop, gotop-bin, or gotop-git from the AUR.

FreeBSD

bash
pkg install gotop

Homebrew

bash
brew tap cjbassi/gotop
brew install gotop

Snap

bash
snap install gotop-cjbassi

Note: You may need to enable certain permissions for all of the widgets to work:

bash
snap connect gotop-cjbassi:hardware-observe
snap connect gotop-cjbassi:mount-observe
snap connect gotop-cjbassi:system-observe

Usage

Keybinds

  • Quit: q or <C-c>
  • Process navigation
    • k and <Up>: up
    • j and <Down: down
    • <C-u>: half page up
    • <C-d>: half page down
    • <C-b>: full page up
    • <C-f>: full page down
    • gg and <Home>: jump to top
    • G and <End>: jump to bottom
  • Process actions:
    • <Tab>: toggle process grouping
    • dd: kill selected process or group of processes
  • Process sorting
    • c: CPU
    • m: Mem
    • p: PID
  • CPU and Mem graph scaling:
    • h: scale in
    • l: scale out
  • ?: toggles keybind help menu

Mouse

  • click to select process
  • mouse wheel to scroll through processes

Colorschemes

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!

CLI Options

-c, --color=NAME Set a colorscheme.
-m, --minimal Only show CPU, Mem and Process widgets.
-r, --rate=RATE Number of times per second to update CPU and Mem widgets [default: 1].
-V, --version Print version and exit.
-p, --percpu Show each CPU in the CPU widget.
-a, --averagecpu Show average CPU in the CPU widget.
-s, --statusbar Show a statusbar with the time.
-b, --battery Show battery level widget (minimal turns off). preview -i, --interface=NAME Select network interface [default: all].

Built With

  • gizak/termui
    • nsf/termbox
  • exrook/drawille-go
  • shirou/gopsutil
  • goreleaser/nfpm
  • distatus/battery

Stargazers over time

Issues· 73 open

View all issuesOpen on GitHub
  • #151

    Relicensing to MIT

    Updated Aug 11, 2020
  • #196

    Temperature and CPU values on Raspberry Pi 4

    Updated Jul 29, 2020
  • #175

    Help screen and statusbar font color does not obey theme

    Updated Jul 24, 2020
  • #195

    Fonts needed in gotop?

    Updated Jul 8, 2020
  • #194

    DEB Package ?

    Updated Jul 3, 2020
  • #103

    Temperature widget is not working ( not showing anything) !!!

    bugUpdated Jul 2, 2020
  • #193

    cannot execute binary file: Exec format error

    Updated Jun 9, 2020
  • #18

    Braille character rendering issue with cpu and mem graphs

    bugUpdated Jun 2, 2020
  • #192

    Missing temperature

    Updated May 20, 2020
  • #188

    Rounding Issue

    Updated Apr 18, 2020

> Tags

Gogogolanglinuxmouse

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言