Alma 9 uses btop 1.4.0, to get latest
yum remove -y btop yum install -y make g++ git clone https://github.com/aristocratos/btop.git cd btop/ make make install update-alternatives --install /usr/bin/btop btop /usr/local/bin/btop 1 |
[root@server2 ~]# yum remove btop Dependencies resolved. ============================================================================================================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================================================================================================= Removing: btop x86_64 1.4.0-1.el9 @epel 1.6 M Removing unused dependencies: hicolor-icon-theme noarch 0.17-13.el9 @appstream 72 k Transaction Summary ============================================================================================================================================================================================================================================= Remove 2 Packages Freed space: 1.7 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : btop-1.4.0-1.el9.x86_64 1/2 Erasing : hicolor-icon-theme-0.17-13.el9.noarch 2/2 Running scriptlet: hicolor-icon-theme-0.17-13.el9.noarch 2/2 Verifying : btop-1.4.0-1.el9.x86_64 1/2 Verifying : hicolor-icon-theme-0.17-13.el9.noarch 2/2 Removed: btop-1.4.0-1.el9.x86_64 hicolor-icon-theme-0.17-13.el9.noarch Complete! [root@server2 ~]# yum install -y make g++ sensu_stable 1.5 kB/s | 1.8 kB 00:01 sensu_stable-source 710 B/s | 951 B 00:01 Package make-1:4.3-8.el9.x86_64 is already installed. Package gcc-c++-11.5.0-5.el9_5.alma.1.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! [root@server2 ~]# git clone https://github.com/aristocratos/btop.git cd btop/ make make install Cloning into 'btop'... remote: Enumerating objects: 6988, done. remote: Total 6988 (delta 0), reused 0 (delta 0), pack-reused 6988 (from 1) Receiving objects: 100% (6988/6988), 9.23 MiB | 9.75 MiB/s, done. Resolving deltas: 100% (4722/4722), done. ██████╗ ████████╗ ██████╗ ██████╗ ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗ ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗ ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝ ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.6 PLATFORM ?| Linux ARCH ?| x86_64 GPU_SUPPORT :| true CXX ?| g++ (11.5.0) CC ?| cc (11.5.0) THREADS :| 32 REQFLAGS !| -std=c++20 WARNFLAGS :| -Wall -Wextra -pedantic OPTFLAGS :| -O2 LDCXXFLAGS :| -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT CXXFLAGS +| $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) Building btop++ (v1.4.4) Linux x86_64 Command 'lowdown' not found: skipping generating man page btop.1 Configuring obj/config.h Compiling src/linux/intel_gpu_top/igt_perf.c Compiling src/linux/intel_gpu_top/intel_device_info.c Compiling src/linux/intel_gpu_top/intel_name_lookup_shim.c Compiling src/linux/intel_gpu_top/intel_gpu_top.c Compiling src/btop.cpp Compiling src/btop_cli.cpp Compiling src/btop_config.cpp Compiling src/btop_draw.cpp Compiling src/btop_input.cpp Compiling src/btop_menu.cpp Compiling src/btop_shared.cpp Compiling src/btop_theme.cpp Compiling src/btop_tools.cpp Compiling src/linux/btop_collect.cpp 6% -> obj/intel_device_info.c.o (32KiB) (00s) 12% -> obj/intel_name_lookup_shim.c.o(8.0KiB) (00s) 19% -> obj/igt_perf.c.o (8.0KiB) (01s) 25% -> obj/intel_gpu_top.c.o (16KiB) (01s) 32% -> obj/btop_cli.o (224KiB) (06s) 38% -> obj/btop_theme.o (416KiB) (08s) 45% -> obj/btop_input.o (556KiB) (10s) 57% -> obj/btop_menu.o (712KiB) (12s) 57% -> obj/btop_tools.o (584KiB) (12s) 64% -> obj/btop_config.o (612KiB) (12s) 70% -> obj/btop_shared.o (572KiB) (12s) 77% -> obj/btop.o (772KiB) (15s) 83% -> obj/btop_draw.o (1.3MiB) (20s) 90% -> obj/linux/btop_collect.o (1.2MiB) (22s) Linking and optimizing binary... 100% -> bin/btop (1.9MiB) (01s) Build complete in (24s) Installing binary to: /usr/local/bin/btop Installing doc to: /usr/local/share/btop Installing themes to: /usr/local/share/btop/themes Installing desktop entry to: /usr/local/share/applications/btop.desktop Installing PNG icon to: /usr/local/share/icons/hicolor/48x48/apps/btop.png Installing SVG icon to: /usr/local/share/icons/hicolor/scalable/apps/btop.svg [root@server2 btop]# update-alternatives --install /usr/bin/btop btop /usr/local/bin/btop 1 [root@server2 btop]# btop |
╭─┐¹cpu┌──┐menu┌┐preset *┌──────────────────────────┐11:21:40┌────────────────────────────────────┐- 2000ms +┌─╮ │ ╭─┐E5-2667┌────────────────────────────────────┐4.0 GHz┌╮│ │ │CPU ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 2% ⣀⣀⣀⣀⣀ 37°C 18.7W││ │ │C0 3% 31°C│C8 0% 31°C│C16 2% 31°C│C24 0% 31°C││ │ │C1 2% 29°C│C9 1% 29°C│C17 3% 29°C│C25 0% 29°C││ │ │C2 4% 32°C│C10 0% 32°C│C18 2% 32°C│C26 1% 32°C││ │ ⢀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀│C3 2% 30°C│C11 0% 30°C│C19 3% 30°C│C27 0% 30°C││ │ ⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉│C4 3% 32°C│C12 0% 30°C│C20 0% 32°C│C28 1% 30°C││ │ │C5 1% 31°C│C13 0% 30°C│C21 4% 31°C│C29 1% 30°C││ │ │C6 4% 29°C│C14 0% 29°C│C22 4% 29°C│C30 1% 29°C││ │ │C7 3% 32°C│C15 0% 31°C│C23 4% 32°C│C31 1% 31°C││ │ │ Load avg: 0.45 0.55 0.46││ │ up 4d 21:35 ╰───────────────────────────────────────────────────────╯│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─┐²mem┌────────────────┬─┐disks┌───────────┐io┌─╮╭─┐⁴proc┌┐filter┌──────────────┐reverse┌┐tree┌┐← cpu lazy →┌─╮ │ Total: 62.3 GiB ├─root──────────────717G─┤│ Pid: Program: Command: User: MemB Cpu% ↑│ ├─Used:────────10.5─GiB─┤4.0K⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ ││ 1482 java /usr/java/jdk1.8. bis 1.0G ⣀⣀⣀⢀⣀ 0.3 █│ │ ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 17% │U ■■■■■■■■■■■■■■■■■ 125G││ 1380 java /usr/java/jdk1.8. bis 2.4G ⣀⣀⣀⢀⣀ 0.1 │ ├─Available:───51.7─GiB─┤F ■■■■■■■■■■■■■■■■■ 592G││ 1236 NetworkM /usr/sbin/Network root 20M ⣀⣀⣀⣀⡀ 0.0 │ │ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ 83% ├─swap──────────────8.0G─┤│ 11386 haproxy /usr/sbin/haproxy hapr+ 20M ⣀⣀⣀⣀⣀ 0.0 │ ├─Cached:──────18.0─GiB─┤U ■■■■■■■■■■■■■■■■■ 0B││ 1948491 btop btop root 8.5M ⣀⣀⣀⣀⣀ 0.0 │ │ ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 29% │F ■■■■■■■■■■■■■■■■■ 8.0G││ 1760953 sensu-ag /usr/sbin/sensu-a sensu 29M ⣀⣀⣀⢀⣀ 0.0 │ ├─Free:────────33.7─GiB─├─boot──────────────973M─┤│ 1434 java /usr/java/jdk1.8. bis 481M ⣀⣀⣀⣀⣀ 0.0 │ │ ⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤ 54% │ IO ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ ││ 4698 consul /bin/consul agent root 65M ⣀⣀⣀⣀⣀ 0.0 │ ├───────────────────────┤U ■■■■■■■■■■■■■■■■■ 257M││ 3862 immich immich root 583M ⣀⣀⣀⣀⣀ 0.0 │ │ │F ■■■■■■■■■■■■■■■■■ 715M││ 3273 valkey-s valkey-server *:6 syst+ 23M ⣀⣀⣀⣀⣀ 0.0 │ │ ├────────────────────────┤│ 1268 beam.smp /usr/lib64/erlang rabb+ 156M ⣀⣀⣀⣀⣀ 0.0 │ ╰───────────────────────┴────────────────────────╯│ 17 rcu_pree root 0B ⣀⣀⣀⣀⣀ 0.0 │ ╭─┐³net┌┐127.0.0.1┌──┐sync┌┐auto┌┐zero┌┐←b lo n→┌╮│ 1266 monit /usr/bin/monit -I root 9.1M ⣀⣀⣀⣀⣀ 0.0 │ │10K ││ 1745 dockerd /usr/bin/dockerd root 109M ⣀⣀⣀⣀⣀ 0.0 │ │ ⡆ ╭─┐download┌──────────────╮││ 2069956 java /usr/java/jdk1.8. bis 902M ⣀⣀⣀⣀⣀ 0.0 │ │ ⡇ ⡆ │▼ 0 Byte/s (0 bitps)│││ 1281 containe /usr/bin/containe root 73M ⣀⣀⣀⣀⣀ 0.0 │ │ ⡇ ⡇ ⡇ │▼ Top: (61.0 Kibps)│││ 3245 mariadbd mariadbd --transa syst+ 427M ⣀⣀⣀⣀⣀ 0.0 │ │ ⢀⣠⣇⣀⣄⣆⣀⣀⣀⣠⣆⣰⣦⣇⣀⣀⣀⣇⣀│▼ Total: 309 MiB│││ 3546611 python python -m gunicor root 272M ⣀⣀⣀⣀⣀ 0.0 │ │ ⠈⠹⡏⠉⠏⠏⠉⠉⠉⠙⠏⠹⠟⡏⠉⠉⠉⡏⠉│ │││ 7158 immich-a immich-api root 398M ⣀⣀⣀⣀⣀ 0.0 │ │ ⡇ ⡇ ⡇ │▲ 0 Byte/s (0 bitps)│││ 1147 consul-t /bin/consul-templ root 28M ⣀⣀⣀⣀⣀ 0.0 │ │ ⠃ ⡇ ⡇ │▲ Top: (61.0 Kibps)│││ 898 systemd- /usr/lib/systemd/ root 254M ⣀⣀⣀⣀⣀ 0.0 │ │ ⡇ ⠁ │▲ Total: 309 MiB│││ 1 systemd /usr/lib/systemd/ root 14M ⣀⣀⣀⣀⣀ 0.0 │ │ ⠃ ╰─┘upload└────────────────╯││ 1739 rsyslogd /usr/sbin/rsyslog root 67M ⣀⣀⣀⣀⣀ 0.0 │ │10K ││ 3037 containe /usr/bin/containe root 15M ⣀⣀⣀⣀⣀ 0.0 ↓│ ╰────────────────────────────────────────────────╯╰┘↑ select ↓└┘info ↵└┘terminate└┘kill└┘signals└───────┘0/474└╯ |