You are not logged in.
Pages: 1
I am not sure if this is an issue with htop (it only started happening after an update) but the RAM usage that it shows is inconsistent with other system monitors and the free -h command.
I just want to know what information I should trust as accurate, if there is a bug in htop, I can just wait until another version is released.
free -h: 1.1Gi
dwmblocks: 1.1Gi
htop: 1.42Gi
top: 1.07Gi
gotop: 1.1Gi
I am aware that different system monitors will show different results because they all use more or less resources, but htop's output seems to be the outlier.
I am inclined to believe this is a problem with htop, but if anyone else has different results I would like to know.
This is not a request for help, unless you think that I have configured something incorrectly, then I'm all ears.
Last edited by Fmamarksman (2021-09-27 21:56:30)
Offline
I just want to know what information I should trust as accurate
cat /proc/meminfoEverything that aggregates this information in two or three values makes convoluting decisions.
In this case (not sure whether it's up to date) https://github.com/hishamhm/htop/issues/242
Offline
htop combines "used" and "shared" in its memory used figure, so if you add those 2 values from the "free -h" command you should get the number in htop
Offline
Thanks for your responses, Htop still seems to be displaying more used memory than free -h, with both numbers added.
Free -h:
Mem: 15Gi 845Mi 13Gi 53Mi 874Mi 14Gi
Htop:
1.15GB
Thank you for your responses, I will not rely on htop for my resource monitoring for now. Though, it still makes killing processes easy.
Offline
It's (hopefully) reliable in relation to itself, ie. you can still see whether your RAM usage goes up or down.
When it comes to an absolut understanding of your RAM situation and as mentioned before: every aggregation represents very specific view on the memory situation that might or not fit your interest at the time. *None* of them is any good itr.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1