get_bw.pl v1.0

  • warning: Invalid argument supplied for foreach() in /home/locker/www/randomfoo.net/htdocs/code/modules/filter.module on line 592.
  • user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR format = 1' at line 1 query: SELECT * FROM filter_formats WHERE OR format = 1 in /home/locker/www/randomfoo.net/htdocs/code/includes/database.mysql.inc on line 108.
by lhl ( | | | | | )

This is the first public release of a little script I wrote the other month for those using The Planet or ServerMatrix as their ISP that logs into the Orbit system and outputs bandwidth used to the console, and their router-based RRD graph to a pre-determined location.

I have it running on the cron (piping output to a text file) and then pick it up locally w/ GeekTool on my desktop.

muffins bw:
509.3GB, 42.4%

Code licensed under the GPL.

AttachmentSize
get_bw.pl.txt1.25 KB