htop
htop copied to clipboard
htop orange pi
Does htop 3.X not include kernel and OS version and amount of users logged in like 2.2 did?
similiar to this,
There's a Meter for the System in 3.3, which can be seen in this screenshot:
The number of logged in users is not currently available as a meter in standard htop; this is a modification of some derivative versions; if you can look for those changes and point them here, we might be able to integrate them.
I apologize for being dumb, is this the files in which your looking for? Downloads.zip
OS_Meter.c OS_meter.h kernel_Meter.c Kernel_meter.h
Yes, do you have a repository you can point to for these files?
I noticed they might likely be from: https://github.com/avafinger/htop_2.2.2/
Given there's some history with that fork of htop, I'm quite reluctant to import patches from there directly (also that fork is based on old htop 2.2). That being said, all the mentioned meters are easy enough to re-implement from scratch.
Yes it is, i wasn't aware of any conflicts I apologize just native htop i installed was missing those figured it would be a nice QoL upgrade then I saw them on 2.2 was curious why an older version had it. If its to much no worries.
Writing those meters is not too difficult. For the OS/Kernel/Distro meters we already have the code to gather the information, so that's basically some boilerplate to implement.
For the logged-in user count the function to get that information is not to difficult either; it's just a matter of implementing it in the platform layer, as that meter is relevant for more than just Linux.