From: Ben Bleything Date: 2008-04-02T01:08:43+09:00 Subject: Re: linux: getting the "load" values without using "top" On Tue, Apr 01, 2008, James Dinkel wrote: > I would like to get some of the information provided by the "top" > command into my ruby program, in particular the "load" values. The only > way I can think of is to use popen3 to run "top -n 1" and parse the > output, but I would like to not have to call an external command and do > it using pure ruby. The uptime command will report it, if for whatever reason you don't have or can't use the /proc option. Ben