A
A
AusTiN2011-01-27 16:40:22
RAM
AusTiN, 2011-01-27 16:40:22

Difference in top and htop readings?

Hey Habr.
The following thing is of interest:
top:
8def0d1cc90abe19d1ed349acd78a7bf.png
htop:
78124b73ce74947c2ee39a505a2f48eb.png
Pay the difference to the readings of RAM consumption, the number of tasks ... Why is that? In this case, the readings of free correspond to the output of top .
OS: Debian Lenny.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
gaelpa, 2011-01-27
@gaelpa

htop.used = top.used-top.buffers-top.cached = free."-/+ buffers/cache".used
i.e. htop only shows application memory, ignoring cache and kernel buffers.

V
Vlad Zhivotnev, 2011-01-27
@inkvizitor68sl

Try enabling display of kernel threads in htop. Or press T. It's one of two, I don't remember exactly.
About memory. htop only tells you the memory actually used by applications. If only F1 were pressed: green - used, blue - buffers, yellow - cache.
By the way, for starters - itmages.ru/image/view/112402/ebc4a1e5 human htop.

A
artyomst, 2011-01-27
@artyomst

apparently, htop considers used+buffers, which are separate in top

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question