From: Daniel Berger Date: 2008-01-05T08:42:40+09:00 Subject: Re: how to get CPU usage On Jan 4, 3:02 pm, thefed wrote: > 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. Process.setrlimit Regards, Dan