Subject: Re: how to get CPU usage
From: thefed <fedzor gmail.com>
Date: Sat, 5 Jan 2008 07:02:07 +0900
References: 286050286053
In-reply-to: 286053
On Jan 4, 2008, at 11:52 AM, Daniel Berger wrote:
> gem install sys-cpu
Is there a way to control how much CPU Ruby uses **FROM WITHIN** ruby?
I know there's nice, renice, and ulimit, but I'd _really_ like to
keep this in ruby.