The difference in the readings top and htop?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
34 views
Hi, Habr.


Interested in such a thing:


top:
8def0d1cc90abe19d1ed349acd78a7bf.png


htop:
78124b73ce74947c2ee39a505a2f48eb.png


Note the difference in the flow reading of the RAM, the number of tasks... Why? Thus indications of free match the output of top.


OS — Debian Lenny.
by | 34 views

3 Answers

0 like 0 dislike
htop.used = top.used-top.buffers-top.cached = free."-/+ buffers/cache".used
i.e. htop shows only apps, not including cache and buffers in the kernel.
by
0 like 0 dislike
Try to enable the display of kernel threads in htop. Or press T. Then one of two things, I do not remember.
\r
About the memory. Htop indicates you only really used by the applications memory. Even if F1 is pressed: green — used, blue — buffers, the yellow cache.
\r
By the way, on a seed — itmages.ru/image/view/112402/ebc4a1e5 human htop.
by
0 like 0 dislike
apparently, in htop believes used+buffers that separate the top
by

Related questions

0 like 0 dislike
7 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
27,842 users