I'm using a script - memusg - to report the peak memory usage of my rails app. The script uses ps -o to measure memory usage. My question is: what units does ps -o report memory usage in?
The script can be found here.
And, here is the output from a run:
$~/bin/memusg rails s
=> Booting Thin
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
<-- snip -->
$memusg: peak=2607332