Here is my htop output:
For example, I'm confused by this ruby script:
How much physical memory is it using?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Memory is a hard thing, you cannot calculate used physical memory by just running ps/htop/top. Memory can be shared between processes.
I recommend you to check usage with this script: