Thankyou AR. But God doesn't already have a structure to grab those
infos and another structure to send emails?

It is the exact two things I need.

cheers,
bráulio

On Thu, Aug 22, 2013 at 3:09 AM, AR (aka AleiPhoenix)
<[email protected]> wrote:
> 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.



-- 
"Lute pela sua ideologia. Seja um com sua ideologia. Viva pela sua
ideologia. Morra por sua ideologia" P.R. Sarkar

EITA - Educação, Informação e Tecnologias para Autogestão
http://cirandas.net/brauliobo
http://eita.org.br

-- 
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.

Reply via email to