From: Rodrigo Bermejo Date: 2008-04-02T02:58:59+09:00 Subject: Re: linux: getting the "load" values without using "top" Robert Dober wrote: > On Tue, Apr 1, 2008 at 5:08 PM, James Dinkel wrote: >> Oh, thanks, I did not realize it was kept in a file. >> >> 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. > Sorry for being negative, but what will happen if the load goes up > again while your script is running? > Maybe you just cannot run this script safely on that server. > Just curious what that script does, maybe you can run it on a nice > level that will allow the server to survive, seems > much a saver approach to me. > Cheers > Robert >> >> -- >> >> >> Posted via http://www.ruby-forum.com/. >> >> > > > > -- > http://ruby-smalltalk.blogspot.com/ > > --- > Whereof one cannot speak, thereof one must be silent. > Ludwig Wittgenstein A secure aproach can be SNMP* You can use it from the localhost or somewhere else http://snmplib.rubyforge.org/ * What is SNMP? SNMP is the Simple Network Management Protocol. This protocol provides the capability to monitor and manage switches, routers, printers, desktops, and other equipment in your network. -- Posted via http://www.ruby-forum.com/.