Hi how can I get memory usage per process in linux?
Joined: Mar 22, 2005
Do you mean manually of programmatically? The "top" command lists all processes with their real and virtual memory allocations. You could run that from within Java using Runtime.exec and parse its output for the values you're interested in.