top vs htop %MEM
I'm running a process that is very memory intensive (analyzing
ca. 500,000 phylogenetic trees). It's using 1.6Gb of virtual memory,
1.2Gb of physical memory (I have 1.5Gb of RAM). However, htop reports
only 21.5 for MEM%, while top reports 83.8 for %MEM. I thought that
htop was just a prettier top, but I can't find an explanation in the
man pages for the difference in the reported MEM%. VIRT and RES are
the same for both. Where does the difference come from?
Not a burning issue, just curious...