Operating System - HP-UX
1829889 Members
2543 Online
109993 Solutions
New Discussion

Perl script for preparing graph from sar data

 
Dodo_5
Frequent Advisor

Perl script for preparing graph from sar data

I want to plot a graph of 'sar' output using 'gnuplot' module in perl.I have written a perl script for that.
Everything is running quite fine except plotting of graph.It terminates before plotting graph.
Can anyone help me out in this script?

Also the problem may come from module,so please suggest me which module will be perfect for my code.

If anyone can provide any other code,that will be helpfull also.
1 REPLY 1
H.Merijn Brand (procura
Honored Contributor

Re: Perl script for preparing graph from sar data

I always make the graphs you see in the stats and congrats threads with Perl-Tk

The script, graph.pl, is free available in the full set of stats scripts
http://mirrors.develooper.com/hpux/Stats.tgz

The content is not fully up to date, but the graph.pl script is.

As I never used GD or GNUplot, I did not look at your code, as I can probably not see what is wrong.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn