Patch to allow writing statistics to a file.
This utility i found perfect for providing statistics that could be parsed and then imported in to Cacti for graphing.
The only problem i was the on-screen output i couldn't find an easy and clean way to capture the statistics ready for parsing.
So i've created a patch that allows the parameter: -o [filename] , which allows the clean output of the statistics to a file of your choice.
The rest of the functionality is un-changed.
The patch can be found here: