3 ms·
An answer somewhat stolen from stackoverflow says "ps -o rss $(pgrep executablename)" but I guess that assumes that you only have one process running, maybe it
by blueblob 13y ago
An answer somewhat stolen from stackoverflow says "ps -o rss $(pgrep executablename)" but I guess that assumes that you only have one process running, maybe it would be easier to put it in a script and use "ps -o rss $!"
http://stackoverflow.com/questions/7278326/how-to-monitor-a-processes-memory-usage-over-time-ubuntu http://stackoverflow.com/questions/7278326/how-to-monitor-a-...