Re: suggestions for perl program to make excel graph out from top output

2012-07-20 Thread Shlomi Fish
Hi Satya,

On Fri, 20 Jul 2012 13:33:04 +
Nemana, Satya snem...@sonusnet.com wrote:

 Gurus,
 
 I want to write a perl program that captures top output in linux and makes 
 nice graphs out of them(Microsoft excel)
 Are there ready to use modules for this which will help in writing the 
 program?
 Any suggestions for inspirations?
 Search in cpan for top is resulting in a lot of results, most of which are 
 irrelevant, are there smarter ways to search?

Sure, use the GTop module which interfaces against libgtop:

https://metacpan.org/release/GTop

Its current metacpan.org documents are kinda messed up for some reason, so you
should view this page:

https://metacpan.org/module/MJH/GTop-0.17/GTop.pod

This may also prove useful:

http://developer.gnome.org/libgtop/stable/

For creating Excel spreadsheets with graphs you can look at a spreadsheet
generating module, such as:

* https://metacpan.org/release/Spreadsheet-WriteExcel

* https://metacpan.org/release/Spreadsheet-WriteExcelXML

Or maybe something OpenDocument related.

Regards,

Shlomi Fish


 
 Regards,
 Satya
 
 
 



-- 
-
Shlomi Fish   http://www.shlomifish.org/
Rethinking CPAN - http://shlom.in/rethinking-cpan

Writing a BitKeeper replacement is probably easier at this point than getting
its license changed.
— Matt Mackall (who ended up writing a BitKeeper replacement)

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




RE: suggestions for perl program to make excel graph out from top output

2012-07-20 Thread mike lively

 

 Date: Fri, 20 Jul 2012 17:19:06 +0300
 From: shlo...@shlomifish.org
 To: snem...@sonusnet.com
 CC: beginners@perl.org
 Subject: Re: suggestions for perl program to make excel graph out from top 
 output
 
 Hi Satya,
 
 On Fri, 20 Jul 2012 13:33:04 +
 Nemana, Satya snem...@sonusnet.com wrote:
 
  Gurus,
  
  I want to write a perl program that captures top output in linux and makes 
  nice graphs out of them(Microsoft excel)
  Are there ready to use modules for this which will help in writing the 
  program?
  Any suggestions for inspirations?
  Search in cpan for top is resulting in a lot of results, most of which are 
  irrelevant, are there smarter ways to search?
 
 Sure, use the GTop module which interfaces against libgtop:
 
 https://metacpan.org/release/GTop
 
 Its current metacpan.org documents are kinda messed up for some reason, so you
 should view this page:
 
 https://metacpan.org/module/MJH/GTop-0.17/GTop.pod
 
 This may also prove useful:
 
 http://developer.gnome.org/libgtop/stable/
 
 For creating Excel spreadsheets with graphs you can look at a spreadsheet
 generating module, such as:
 
 * https://metacpan.org/release/Spreadsheet-WriteExcel
 
 * https://metacpan.org/release/Spreadsheet-WriteExcelXML
 
 Or maybe something OpenDocument related.
 
 Regards,
 
 Shlomi Fish
 
 
  
  Regards,
  Satya
  

 
You can also use the Chart module from CPAN to create many different kinds of 
charts as a PNG file.  This file can then be put into an Excel spreadsheet 
using the modules above.   This was fairly easy to do.
 
Mike Lively