comparing top and htop output for memory

Victor Sudakov vas at
Thu Jul 30 06:08:31 UTC 2020

Dear Colleagues,

htop gives a simplified output (used/buffers/cache) for free RAM. I
think ZFS ARC is counted under "cache". On a certain box, it shows 24.5G
as "used".

On the same box, top gives a more detailed output:  

Mem: 21G Active, 10G Inact, 13G Wired, 639M Buf, 15G Free
ARC: 10G Total, 1142M MFU, 9057M MRU, 84M Anon, 60M Header, 102M Other

Which of those above would go under the 24G of "used" according to htop?
It's probably 21G of active + I need to account for 3G more.

The total amount of RAM is 61G (which htop shows but top does not). But 
22G Active+10G Inact+13G Wired+639M Buf+15G Free is indeed 61G

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list