• This repository has been archived on 29/Aug/2020
  • Stars
    star
    7,331
  • Rank 5,282 (Top 0.2 %)
  • Language
    Go
  • License
    GNU Affero Genera...
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.



Another terminal based graphical activity monitor, inspired by gtop and vtop, this time written in Go!

Installation

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

Source

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:

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

pkg install gotop

Homebrew

brew tap cjbassi/gotop
brew install gotop

Snap

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

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

Stargazers over time

Stargazers over time

More Repositories

1

ytop

A TUI system monitor written in Rust
Rust
2,144
star
2

awesome-rofi

A curated list of awesome rofi (and dmenu) applications
146
star
3

rust-warp-realworld-backend

Implementation of the RealWorld backend API spec in Rust and Warp
Rust
91
star
4

termui

[DEPRECATED] A termui fork with codebase and usage improvements
Go
40
star
5

swaylock-blur

A small Rust program that runs swaylock and sets the image to a blurred screenshot of the desktop
Rust
34
star
6

config

Emacs Lisp
27
star
7

platform-dirs-rs

A Rust library for obtaining platform dependant directory paths for application and user directories
Rust
27
star
8

rofi-copyq

Use Rofi to search CopyQ's clipboard history and set the clipboard to the selected snippet
Python
19
star
9

rubbish

A command line tool written in Rust to interface with the XDG trash (Beta)
Rust
19
star
10

i3-workspace-groups

Organize i3 (and Sway) workspaces into groups
Rust
12
star
11

neotop

Rust
11
star
12

rofi-files

Use rofi to search files and directories with fd and open them with xdg-open
Python
10
star
13

recover-youtube-videos

A cli app that helps you recover privated and deleted videos from your YouTube playlists
Rust
7
star
14

omnibar

A GTK based Wayland statusbar written in Rust (WIP)
Rust
7
star
15

sway-utils

Miscellaneous commands for use with Swaywm
Rust
7
star
16

rofi-power

Systemd based power management with Rofi
Python
4
star
17

ranger-fzf

Ranger plugin that allows navigation with fzf
Python
4
star
18

vim-anywhere

Use Vim to edit text anywhere
Shell
3
star
19

wpm-spa

A minimalist typing practice program for the browser
TypeScript
3
star
20

rofimgur

Upload screenshots to imgur anonymously using rofi
Shell
3
star
21

batch-rename

Quickly rename a batch of files in your default text editor
Rust
3
star
22

ranger-plug

Small python script to manage Ranger plugins
Python
2
star
23

zsh-vi-mode-clipboard

Shell
2
star
24

trash-utils-rs

A cross platform Rust library for interacting with the trash
Rust
2
star
25

grip.vim

Vim Script
1
star
26

drawille-go

Go
1
star
27

homebrew-gotop

Ruby
1
star
28

license-gen

Rust
1
star
29

point-rect

Python
1
star