LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sar data via web browser (https://www.linuxquestions.org/questions/linux-software-2/sar-data-via-web-browser-493899/)

Mike_the_Man 10-19-2006 01:39 PM

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

Thanks,
Mike

haertig 10-20-2006 10:21 PM

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";



All times are GMT -5. The time now is 09:54 AM.