Parsing memory usage in htop/top
I've been trying to figure out how much memory a node app is using on my VPS, and output from top
or htop
is fairly overwhelming. In searching around I found Mugurel Sumanariu's post clearly explaining each column related to memory usage.
The column I should be paying attention to is RES
, which
[..] stands for the resident size, which is an accurate representation of how much actual physical memory a process is consuming. (This also corresponds directly to the %MEM column.)