hukl <[email protected]> wrote: > Also I'd like to know if there is a way to get the current memory > footprint of a worker other than something like: > > %x(ps -o rss= -p #{Process.pid}).to_i
Hi John, I know under Linux it's possible to parse /proc/$$/stat and also (the bigger, but more human-readable) /proc/$$/status to get current memory usage. There's also the sys-proctable gem, too, which I haven't used. -- Eric Wong _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
