Creo que debo utilizar los comandos df y free del sistema.
Debe ser en html. Aquí tengo algo. Ayuda plz
Using perl Syntax Highlighting
#!/usr/bin/perl -w
use strict;
use CGI;
my $cgi = new CGI;
print "Content-type: text/html\n\n";
print "<html><head><title>Ejercicio 2</title></head>\n";
print "<body>\n";
print "<center><h1> <font color=\"blue\">Ejercicio 2</font></h1></center>\n";
print "<br><br>\n";
print "Mostrando Histograma<br>\n";
print "<br>";
print "<br>\n";
print "<br>\n";
print "</body>";
print "</html>";
use strict;
use CGI;
my $cgi = new CGI;
print "Content-type: text/html\n\n";
print "<html><head><title>Ejercicio 2</title></head>\n";
print "<body>\n";
print "<center><h1> <font color=\"blue\">Ejercicio 2</font></h1></center>\n";
print "<br><br>\n";
print "Mostrando Histograma<br>\n";
print "<br>";
print "<br>\n";
print "<br>\n";
print "</body>";
print "</html>";
Coloreado en 0.002 segundos, usando GeSHi 1.0.8.4