LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-19-2006, 01:39 PM   #1
Mike_the_Man
Member
 
Registered: Jan 2001
Location: work
Distribution: Redhat, Mandrake
Posts: 33

Rep: Reputation: 15
Sar data via web browser


Does anyone know of a good application to display sar data on a web page?

Thanks,
Mike
 
Old 10-20-2006, 10:21 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,979

Rep: Reputation: 290Reputation: 290Reputation: 290
Create a file, sar.cgi for example, containing the following:
Code:
#!/bin/perl
print "Content-type: text/html\n\n<html></body><pre>\n",
      `sar 2 2`,
      "</pre></body></html>\n";
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 2 01-06-2010 02:08 PM
php mysql no data appears on browser. sunlinux Programming 6 06-15-2006 06:37 AM
Which web browser oookiezooo Linux - Software 6 04-18-2005 07:18 PM
public web browser aka web kiosk xmnemonic Linux - Software 6 06-14-2004 03:20 PM
The BEST Web Browser?? Mannyakatheman General 11 04-23-2004 05:48 PM


All times are GMT -5. The time now is 12:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration