From: Robert Klemme Date: 2008-04-02T00:29:57+09:00 Subject: Re: linux: getting the "load" values without using "top" 2008/4/1, James Dinkel : > Oh, thanks, I did not realize it was kept in a file. It's not exactly a file. But it is mounted in a special file system and can be read like a file or device. > I'm wanting this because this script currently blows up the server if > run when the load is too high. I'll just have the script sleep for 5 > minutes until the load is under a certain threshold. That's what process priorities are for. You can find out via "man nice". Maybe there's even a Ruby library method that allows to lower the priority of the current process. Kind regards robert -- use.inject do |as, often| as.you_can - without end