From: Daniel Berger Date: 2008-01-05T01:52:41+09:00 Subject: Re: how to get CPU usage On Jan 4, 9:44 am, Luca Scaljery wrote: > Hi All > > For the (RAILS) application I'm writing I need to know what the CPU > usage is, any modules in Ruby that can do this (for a linux server)? > > In my case, the server has to deal with many AJAX calls all the time. So > when the CPU-usage gets too high, I would like to lower the > AJAX-call-frequency dynamically. > > Thnx a lot in advance gem install sys-cpu Regards, Dan