Use of gruff, RMAgick for dynamic Graphying

V

Victor Reyes

[Note: parts of this message were removed to make it a legal post.]

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
 
J

Joel VanderWerf

Victor said:
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.
 
V

Victor Reyes

[Note: parts of this message were removed to make it a legal post.]

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
 
P

Piyush Ranjan

[Note: parts of this message were removed to make it a legal post.]

* 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.

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
 
V

Victor Reyes

[Note: parts of this message were removed to make it a legal post.]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top