Thanks Tintin,
However, I want some fancy formatting. And I want my script to feach same information from different servers.
Main Topics
Browse All TopicsHello Experts,
I am very new to cgi and perl script and I had a requirement of displaying disk space, topas and vmstat output in a html page. This will help my team in checking the system health without loggin to the server. We have IBM HTTP Server installed on most of the servers. Can you please help me...
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Formatting everything nicely will be a decent amount of work - more than you typically get here. I'll give you some suggestions, but will not be able to develop the entire program for you.
You can capture the data you need using the program you want, and backticks to get the data in to perl. Eg:
my $vmstat_local = `vmstat`;
my $vmstat_host1 = `ssh host1 vmstat`;
You can then parse that, and reformat it for display however you want.
You might be able to find a module that does some of this work for you. Take a look on CPAN. http://search.cpan.org/
When I'm developing an HTML page that perl is generating, I use the Template Toolkit, accessed through the Template module. With this module, you write your HTML page in HTML, and put placeholders where the data will go. Using the Template module and whatever perl code you want to get the data, you fill in the template, and display the results to the client (web browser).
http://search.cpan.org/~ab
http://template-toolkit.or
Business Accounts
Answer for Membership
by: TintinPosted on 2009-11-07 at 13:39:28ID: 25768177
Well, if you don't want fancy formatting....
Select allOpen in new window