On Jan 4, 3:02 pm, thefed <fed... / gmail.com> 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