J
James Dinkel
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.
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.