From: "Alexandru E. Ungur" Date: 2007-02-20T19:28:26+09:00 Subject: Re: checking server load from ruby? >>> sender: "dc" date: "Tue, Feb 20, 2007 at 07:11:19PM +0900" << hi - Hello, > are there any ruby library functions for checking server load and > general system status? > or should i just use something like `uptime` ? I for one just use this: ~>> irb >> File.new('/proc/loadavg').read => "0.57 0.47 0.35 1/197 1862\n" but a quick gem search reveals a gem that might be related to this: ~>> gem search -r uptime *** REMOTE GEMS *** sys-uptime (0.4.5, 0.4.4) A Ruby interface for getting system uptime information. Cheers, Alex