mmstats icon indicating copy to clipboard operation
mmstats copied to clipboard

pollstats doesn't work?

Open gjcarneiro opened this issue 12 years ago • 1 comments

gjcarneiro avatar Oct 02 '13 14:10 gjcarneiro

I am just following the simple example code provided in the home page, with class WebStats, and incrementing some values. However, no matter what I do, pollstats always shows zero for all values, which is wrong.

gjc@gjc-XPS-8500:~/projects/molly (master)$ pollstats -p web.stats.status 2XX,3XX,4XX,5XX /tmp/-7800-7800.mmstats file, filename, etc = imp.find_module(subname, path) 2XX | 3XX | 4XX | 5XX
0 | 0 | 0 | 0 0 | 0 | 0 | 0 0 | 0 | 0 | 0 0 | 0 | 0 | 0

I have examined the mmstats file, and I notice that it really changes when I call webstats.status3xx.inc(), so it must be the reader's fault.

gjcarneiro avatar Oct 02 '13 14:10 gjcarneiro