3 3
@lex

Monitoring your system health with HTOP (big.LITTLE)

Recommended Posts

Just In case anyone is interested I have pushed HTOP 2.2.1 to github, so it is possible to monitor big.LITTLE cores in real-time.

You can view the big.LITTLE in action, Vcore, Cpu thermal throttling and Cpu frequency for each big or LITTLE core.

 

HTOP is a nice console graphical tool for system-monitor, process-viewer and process-manager.

DEB package and source code in case you want to extend or fix things.

Be aware the process list and task can be very intrusive if you want to monitor many things at once.

It has been tested on NanoPi M4 (thanks to FriendlyElec for the samples) but should work on any SBC just adjust the Vcore path for different kernel version.

 

https://github.com/avafinger/htop-2.1.1_enhanced-version

 

image.png.a74b0fbedd36d297f6a17bd6ceffebec.png

Share this post


Link to post
Share on other sites
1 hour ago, @lex said:

Just In case anyone is interested I have pushed HTOP 2.2.1 to github

 

... and I have build it and pushed to Armbian stable repository (Stretch, Xenial and Bionic; armhf+arm64). First boot scripts also creates CPUfreq config based on CPU count. More can be added if there is an interest ... Package can be installed via apt update and upgrade while auto config feature will work only on self made images.

Share this post


Link to post
Share on other sites

big.LITTLE has a policy for each cluster so I pushed some changes to display CPU Temp, CPU Freq, and CPU V-core for each cluster instead of CPU Freq for each CPU.

Added a branch: rk3399 so it does not break things, you may need to review the boot script if one would like to know CPU temp for big and for LITTLE cores.htop.png.0f8f82110c040bb7b765d71010f93032.png

 

Share this post


Link to post
Share on other sites

I had cpufreq and core temp displayed on my Rock Pi4 when I first installed. But have some apt updates (and kernel updates) the freq and temp are no longer displayed. 

 

How can I check to make sure that I am still running the armbian supplied htop, and not the general debian one? Could this have been messed up with a kernel update?

 

I've never had this info on my banana pi.

Share this post


Link to post
Share on other sites
14 hours ago, SenorSmartyPants said:

Could this have been messed up with a kernel update?


No. Do:

apt purge htop
and 

apt install htop

and see if it is downloading from apt.armbian.com

Share this post


Link to post
Share on other sites
On 2/25/2019 at 1:32 AM, Igor said:


No. Do:

apt purge htop
and 

apt install htop

and see if it is downloading from apt.armbian.com

 

When I tried to purge htop, it failed

 

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package htop

 

So I ran apt update to see if that would fix the above error.  Only one armbian source listed, does this look right?

 

Hit:5 https://download.docker.com/linux/debian stretch InRelease
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Get:2 http://security-cdn.debian.org stretch/updates InRelease [94.3 kB]
Hit:7 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:8 http://cdn-fastly.deb.debian.org/debian testing InRelease
Get:4 http://security-cdn.debian.org testing/updates InRelease [38.3 kB]
Hit:6 https://beta.armbian.com stretch InRelease
Hit:9 http://cdn-fastly.deb.debian.org/debian testing-updates InRelease
Hit:10 http://cdn-fastly.deb.debian.org/debian stretch Release

 

Share this post


Link to post
Share on other sites
8 hours ago, SenorSmartyPants said:

does this look right?

 

Yes, but you are using beta.armbian.com repository which is automated builds for testing and development. If it doesn't work there, not a problem.

Share this post


Link to post
Share on other sites

I did try to compile, but got some missing dependencies....

apt-installed libncurses5-dev libncursesw5-dev debhelper

but my debhelper doenst seem to be the right version (  debhelper (>= 11) )

dpkg -l|grep debhelper
debhelper   10.2.5  all  helper programs for debian/rules

uname -a
Linux t95k-pro 5.0.2-aml-s912 #5.77 SMP PREEMPT Mon Mar 18 15:02:39 MSK 2019 aarch64 GNU/Linux

How do I get >= v11?
Installation of the precompiled .deb was OK

dpkg -i htop_2.1.1-3_arm64.deb
(Lese Datenbank ... 59412 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von htop_2.1.1-3_arm64.deb ...
Entpacken von htop (2.1.1-3) über (2.1.1-3) ...
htop (2.1.1-3) wird eingerichtet ...
Trigger für mime-support (3.60) werden verarbeitet ...
Trigger für man-db (2.7.6.1-2) werden verarbeitet ...


 

 

Share this post


Link to post
Share on other sites
10 hours ago, Igor said:

 

Yes, but you are using beta.armbian.com repository which is automated builds for testing and development. If it doesn't work there, not a problem.

 

But should htop be found with my repos? Becuase it currently isn't.

How do I switch to non beta armbian repos?

Share this post


Link to post
Share on other sites
2 hours ago, SenorSmartyPants said:

But should htop be found with my repos? Becuase it currently isn't.

 

No. Beta repository and images labelled as WIP/testings are for developers and testings. End user questions like such shell be ignored since they are irrelevant for the development. Images are not supported - I hope you do understand that. 

 

Normally you can change repository in armbian-config but in this case it will break down since there are no stable builds for Rockpi-4.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
3 3