I have an application written in Node using many features such as the cluster module.
I need to know the memory usage of my app on a specific time, what I am thinking of is looping through the active workers and sum the output of all of them but I don't know if the output value will be correct. any one here can help me please?
In fact I can't seem also to know the true meanings of the three "rss","heapTotal","heapUsed" mean.. I googled it and what I found is what important to monitor is "heapTotal" & "heapUsed", is this correct?