7

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
user2574255
  • 73
  • 1
  • 3

1 Answers1

2

According to the author's comment on the script's page, he answered over at StackOverflow and said it is in kilobytes.

Paul
  • 4,854