@echo off echo ============================================== echo Hit [Alt][Tab] to return to Windows desktop. echo Hit [Ctrl][Break] to manually cycle MRTG. echo ============================================== break on :DOIT C:\PERL\BIN\PERL C:\MRTG-2.8.12\RUN\MRTG C:\MRTG-2.8.12\RUN\MRTG.CFG SLEEP.EXE 298 GOTO DOITMRTGRUN.BAT can be downloaded from here.
The 298 is the 300 seconds minus the approximate runtime of MRTG. This will vary with the speed of the machine and how busy the system appears.
Create a shortcut on the desktop to this batch file by right clicking on the desktop > New > Shortcut that looks like this:
If you want MRTG to start automatically when the computer boots, be sure to add it to the Startup Collection. The easy way is to just copy the shortcut from the desktop to the C:\WINDOWS\START MENU\PROGRAMS\STARTUP directory.
When running, MRTG will appear with the SLEEP program on the task bar. Every 5 minutes, the SLEEP will change to PERL and then RATEUP.
Connect to your Internet Service Provider and generate some traffic. It will take some time to generate enough data for a useful graph. After a while, your graph will look something like this:
Ignore my lousy thruput. Ricochet was having a bad day.