avafinger / htop_2.2.2

htop 2.2.2-11 for monitoring cpu freq, cpu temp, vcore, fs stats, eth/wlan stats , block dev stats (Ubuntu 19.10 EOAN / 20.04 LTS - arm64 / big.LITTLE)
GNU General Public License v2.0
20 stars 3 forks source link
arm64 armhf cpu htop mainline rk3399 ubuntu vcore

htop_2.2.2

Ubuntu 20.04 LTS deb package

Ubuntu 19.10 EOAN deb package

Branches:

Htop screenshot

RK3399

F2 config

deb packages

Enhanced version

Htop 2.2.2-8 (arm64 and big.LITTLE)

https://github.com/avafinger/htop_2.2.2/releases/tag/v1.8

Configurable handlers and Alias

The path to grab information depends on how kernel and DTB are built, they change from kernel version and different hardware, handlers have been added to the htop configuration file so you can adjust it to your need.

File configuration is in /root/.config/htop and there is a section you can edit and change the handlers with an editor or programatically.

    # 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 Kernelversion OSversion Armbianversion
    left_meter_modes=1 1 1 2 2 2
    right_meters=Tasks LoadAverage Uptime Eth0 CpuFreq CpuTemp GpuTemp
    right_meter_modes=2 2 2 2 2 2 2
    # SBC hardware and Kernel specific path.
    # Editable manually.
    BoardName=
    CpuFreq_handler=
    CpuTemp_handler=/sys/class/hwmon/hwmon1/temp2_input
    CpuVCore_l_handler=
    CpuVCore_b_handler=
    GpuVCore_handler=
    GpuTemp_handler=/sys/class/hwmon/hwmon2/temp1_input
    # Wlan / Eth alias
    eth0_alias=enp2s0
    eth1_alias=
    wlan0_alias=
    wlan1_alias=

They are as follow:

RK3399 CPUVCORE handlers (kernel 5.7.9)

CpuVCore_l_handler=/sys/class/regulator/regulator.15/microvolts
CpuVCore_b_handler=/sys/class/regulator/regulator.12/microvolts

Alias

Some kernel changes eth0 / eth1 /wlan0 / wlan1 names like so:

enp2s0: renamed from eth0

in this case you add the alias here:

eth0_alias=enp2s0

License

Build Status PayPal donate

htop

by Hisham Muhammad hisham@gobolinux.org (2004 - 2016)

Introduction

This is htop, an interactive process viewer. It requires ncurses. It is developed primarily on Linux, but we also have code for running under FreeBSD and Mac OS X (help and testing are wanted for these platforms!)

This software has evolved considerably over the years, and is reasonably complete, but there is always room for improvement.

Comparison between htop and classic top

Compilation instructions

This program is distributed as a standard autotools-based package. See the INSTALL file for detailed instructions.

When compiling from a release tarball, run:

./configure && make

For compiling sources downloaded from the Git repository, run:

./autogen.sh && ./configure && make

By default make install will install into /usr/local, for changing the path use ./configure --prefix=/some/path.

See the manual page (man htop) or the on-line help ('F1' or 'h' inside htop) for a list of supported key commands.

If not all keys work check your curses configuration.

License

GNU General Public License, version 2 (GPL-2.0)