From: Gary Wright Date: 2008-01-06T00:29:59+09:00 Subject: Re: how to get CPU usage On Jan 5, 2008, at 9:51 AM, Thomas Adam wrote: > On 05/01/2008, thefed wrote: >> >> On Jan 5, 2008, at 2:52 AM, M. Edward (Ed) Borasky wrote: >> >>> Well ... from inside a Ruby script, open the following file: >>> >> >> Thanks! >> >> But there's not anything I can do to limit the CPU% my script uses? > > No -- that has to be controlled at the process level, something your > program can't do. Perhaps something like Process::setrlimit is something the OP could use? Gary Wright