On Wed, Aug 21, 2013 at 8:29 PM, Bráulio Bhavamitra <[email protected]>wrote:
> The problem is how to get statistics in ruby. If you want something simple, I will recommend system command like sysstat , top , free. Wrap them in ruby code will just be fine. Or you can find more at here[1]. A gem behind Chef called ohai[2] will provide more platforms and plugins support to retrieve system info. [1]: http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html [2]: https://github.com/opscode/ohai -- Silence is golden. twitter: @AccelReality wikipedia: AleiPhoenix blog: weblog.areverie.org wiki: wiki.areverie.org -- You received this message because you are subscribed to the Google Groups "god.rb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/god-rb. For more options, visit https://groups.google.com/groups/opt_out.
