Currently works on Linux and macOS with support planned for all major platforms.
Prebuilt binaries are provided in the releases tab.
Install ytop
, ytop-bin
, or ytop-git
from the AUR.
bash
brew tap cjbassi/ytop
brew install ytop
Available in the testing repository, so you need to be on Alpine Linux Edge.
bash
apk add ytop
bash
cargo install -f --git https://github.com/cjbassi/ytop ytop
q
or <C-c>
<Space>
k
and <Up>
: upj
and <Down>
: down<C-u>
: half page up<C-d>
: half page down<C-b>
: full page up<C-f>
: full page downgg
and <Home>
: jump to topG
and <End>
: jump to bottom<Tab>
: toggle process groupingdd
: kill selected process or process groupp
: PID/Countn
: Commandc
: CPUm
: Mem/
: start editing filter<Enter>
: accept filter<C-c>
and <Escape>
: clear filterh
: scale inl
: scale out?
: toggles keybind help menuytop 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!
``` 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