I've seen some at
www.hotscripts.com
You could easily roll your own, for example:
[php]$line = explode("n", `netstat -e`);
$line = explode(" ",$line[4]);
$cnt = 0;
for ($i=0;$i
if ($line[$i]=="") continue;
if ($cnt==0) $text = ucfirst($line[$i]);
elseif ($cnt==1) $rec = $line[$i];
elseif ($cnt==2) $sent = $line[$i];
$cnt++;
}
$totalreceive = round($rec / (1048576),2);
$totalsent = round($sent / (1048576),2);
print "Received: ".$totalreceive."
SENT: ".$totalsent;
?>[/php]
Would return total data sent/received in bytes. You could easily modify that do take averages over time...