Thanks for this great mod! Also confirmed that it works out of the box on 2.5.1.
I made a small change to
trafficstats.cgi so that it also reports Terabytes. Change line 33 to:
my @args = qw/B KB MB GB TB/;
(I suppose you could add " PB" at the end, too, to show PetaBytes, but I'm definitely a long ways away from that kind of traffic!)
Thanks
-Joe