2
votes
0answers
30 views

Get RSS Memory usage from entire OS on command line

I need to get the entire count of RAM being used on a command line. I can get individual process RSS usage using ps -o rss= -p #{pid} How do I get all the memory usage for the entire system on the ...
4
votes
1answer
232 views

How do I monitor the total physical and virtual memory usage of a process and all of its descendants?

From the command line, how would I get the total physical and virtual memory usage of a process and all of its descendants (not just 1st-level children)? This is useful when you want to monitor the ...
0
votes
1answer
138 views

How do I list the plugged memory sticks on Mac OS

How can I list all the currently memory devices on MacOS X? I need to do this by command, because I have an Java application that needs this information. Thanks
0
votes
2answers
294 views

command line ps has stopped working correctly after an update

I use to be able to run this ps command from the terminal: ps -u whoami -o pid,rss,command But recently the RSS size returned are all 0! ps -u `whoami` -o pid,rss,command 158 0 ...
60
votes
16answers
48k views

Is there a Mac OS X Terminal version of the “free” command in Linux systems?

On Linux, I often use the free command to see the current amount of free and used memory in the system. For example: $ free total used free shared buffers cached ...