When I tried Armbian image - there was htop with temperature and cpufreq support. Want to have this in Debian Buster image by Frank-W. Found this repo https://github.com/avafinger/htop but it’s not compiled under this image and it outdated. Can anyone help me with this?
apt install htop
? But there is no lm-sensors support,you can only read cpu-temp by cat a file in /proc or /sys
funny but I want htop with cpu temperature and cpufreq support. tried to get binary and configs from armbian and just run on your debian buster https://paste.pics/fc866527f89d18c25a89584d86a48b2c but i think it’s not work correct because on armbian i see temperature/cpufreq changes and there I see stale of it
If debians version missing features you need to compile it by yourself.
We compile htop with patches … add armbian repository and install it with: apt install htop
Great, thanks! This is what needed to get htop show temp/cpufreq:
add to /etc/apt/sources.list
deb http://apt.armbian.com buster main buster-utils
apt update && apt upgrade
and… no temp/cpufreq shows because one more thing needs to be added (found that this present in armbian distro in /etc/skel/.config/htop and because of this it was present at /root/.config/htop) in ~/.config/htop/htoprc
# Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. fields=0 48 17 18 38 39 40 2 46 47 49 1 sort_key=46 sort_direction=1 hide_threads=0 hide_kernel_threads=1 hide_userland_threads=0 shadow_other_users=0 show_thread_names=0 show_program_path=1 highlight_base_name=0 highlight_megabytes=1 highlight_threads=1 tree_view=0 header_margin=1 detailed_cpu_time=0 cpu_count_from_zero=0 update_process_names=0 account_guest_in_cpu_meter=0 color_scheme=0 delay=15 left_meters=AllCPUs Memory Swap CpuTemp left_meter_modes=1 1 1 2 right_meters=Tasks LoadAverage Uptime CpuFreq(1) CpuFreq(2) CpuFreq(3) CpuFreq(4) right_meter_modes=2 2 2 2 2 2 2
after this - htop show temp/cpufreq corectly