Use of gruff, RMAgick for dynamic Graphying

Team,

Last year, 12/10/2007, I submitted a question (Is there a Ruby utility
for
graphing?
) about doing graph in Ruby.
I received many good suggestions and recommendations, such as:
ImageMagic,
RMagick, gruff, gnuplot, JRuby SWING, Tioga, Monkeybars, shoes, Etc.
I wanted to use the tool (whichever it was) under AIX. However, I ran
into
heavy roadblocks, where 99.99% of the problems were compilation issues.
Sooooooooooooo, I gave up as I only have a finite number of hours and
little
experience with graphing tools.
I then decided to do the next “best” thing as permitted on my
environment,
which is to use MS Windows/XP.

So I installed:

ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

gem install hoe
Need to update 21 gems from http://gems.rubyforge.org

complete
Install required dependency rubyforge? [Yn] Y
Install required dependency rake? [Yn] Y
Successfully installed hoe-1.5.1
Successfully installed rubyforge-0.4.5
Successfully installed rake-0.8.1
Installing ri documentation for hoe-1.5.1…
Installing ri documentation for rubyforge-0.4.5…
Installing ri documentation for rake-0.8.1…
Installing RDoc documentation for hoe-1.5.1…
Installing RDoc documentation for rubyforge-0.4.5…
Installing RDoc documentation for rake-0.8.1…

gem install gruff
Successfully installed gruff, version 0.3.1
Installing ri documentation for gruff-0.3.1…
Installing RDoc documentation for gruff-0.3.1…

C:$user\downloads\Ruby and Friends>gem install monkeybars
Successfully installed monkeybars, version 0.6.0
Installing ri documentation for monkeybars-0.6.0…
Installing RDoc documentation for monkeybars-0.6.0…

I ran a sample RMagick (The Ruby way) program and a sample gruff program
from their web page.
But the problem with those tools is that they create an image which it
then
needs to be displayed.
I was looking for some kind of tool to display “real time” performance
data:
CPU, Memory, Paging, Network Activities, Etc. in graph format.
I could, however, display the file created by gruff or RMmagick if
someone
tells me how to.
Remember, I am doing this now under Windows/XP.

So, this is a cry for help!

Thank you all for your valuable and greatly appreciated input.

Victor

Victor R. wrote:

I was looking for some kind of tool to display “real time” performance data:
CPU, Memory, Paging, Network Activities, Etc. in graph format.

Is Ruby/Tk an option for you? If so, there a number of ways to do this.

What about rrdtool? It’s not exactly real time but you can make the
update interval small.

Joel,

I just took a quick look at rrdtool and I like the fact that there is
binary
for AIX.
I will explore this tool and see how it goes.

Thank you for the suggestion.

Victor

The data will be transmitted, at certain interval, via the network from
AIX
(UNIX) to a Windows XP box, which has a 50 inches LCD display attached
to
it. all servers are within the Intranet and are not accessible from the
outside world. So, real time mean perhaps every 20 or 30 secs.
Is Google Chart still possible?

Thank you

Victor

  • I was looking for some kind of tool to display “real time” performance
    data:
    CPU, Memory, Paging, Network Activities, Etc. in graph format.*

How do you need these graphs as ? What I mean is that are these ‘real
time’
graphs need to be transmitted over a network or internet to some remote
machine ? You may as well use Google charts.

On Sat, Mar 29, 2008 at 1:15 AM, Victor R. [email protected]