• This repository has been archived on 29/Aug/2020
  • Stars
    star
    2,144
  • Rank 21,520 (Top 0.5 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 4 years ago

Reviews

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

Repository Details

A TUI system monitor written in Rust

NO LONGER MAINTAINED. For a similar program, check out https://github.com/ClementTsang/bottom.

ytop

Minimum rustc version Matrix

Another TUI based system monitor, this time in Rust!

Missing features

  • macOS is missing disk io counters and process commandline
  • Process filtering isn't implemented
  • Mouse usage isn't implemented
  • FreeBSD is currently unsupported

Installation

ytop currently works on Linux and macOS with support planned for all major platforms.

Package managers

Packaging status

AUR

ytop is available in three different AUR packages: ytop, ytop-bin, and ytop-git.

COPR

ytop is also available in COPR:

sudo dnf copr enable atim/ytop -y
sudo dnf install ytop

Homebrew

brew tap cjbassi/ytop
brew install ytop

Prebuilt binaries

Prebuilt binaries are provided in the releases tab.

From source

cargo install ytop

Usage

Keybinds

  • Quit: q or <C-c>
  • Pause: <Space>
  • 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 process group
  • Process sorting:
    • p: PID/Count
    • n: Command
    • c: CPU
    • m: Mem
  • Process filtering:
    • /: start editing filter
    • (while editing):
      • <Enter>: accept filter
      • <C-c> and <Escape>: clear filter
  • 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

ytop 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, copy one of the default ones to ~/.config/ytop/<new-name>.json and load it with ytop -c <new-name>. Colorscheme PRs are welcome!

CLI Options

USAGE:
    ytop [FLAGS] [OPTIONS]

FLAGS:
    -a, --average-cpu    Show average CPU in the CPU widget
    -b, --battery        Show Battery widget (overridden by 'minimal' flag)
    -f, --fahrenheit     Show temperatures in fahrenheit
    -h, --help           Prints help information
    -m, --minimal        Only show the CPU, Mem, and Process widgets
    -p, --per-cpu        Show each CPU in the CPU widget
    -s, --statusbar      Show a statusbar with the time
    -V, --version        Prints version information

OPTIONS:
    -c, --colorscheme <colorscheme>    Set a colorscheme [default: default]
    -i, --interface <interface>        The name of the network interface to show in the Net widget. 'all' shows all
                                       interfaces [default: all]
    -I, --interval <interval>          Interval in seconds between updates of the CPU and Mem widgets. Can specify
                                       either a whole number or a fraction with a numerator of 1 [default: 1]

Related projects

More Repositories

1

gotop

A terminal based graphical activity monitor inspired by gtop and vtop
Go
7,331
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