Bitcoin Forum

Bitcoin => Mining => Topic started by: Mononofu on May 26, 2011, 09:39:07 PM



Title: Interest in my miner stats script?
Post by: Mononofu on May 26, 2011, 09:39:07 PM
To monitor my miner, I wrote some scripts to save stats and show them on a graph, accessible on a webserver: http://mononofus-dreambox.dyndns.org:8081

It's basically python to save the GPU readings (using pyADL), then shell scripts to move around the data. Charts using http://www.amcharts.com/.

Is there any interest in those scripts? If there is, I'll tidy them up a bit and post them on GitHub.


Title: Re: Interest in my miner stats script?
Post by: nzbtc on May 26, 2011, 10:14:15 PM
This is very cool, I for one am interested!


Title: Re: Interest in my miner stats script?
Post by: BitMinerN8 on May 26, 2011, 10:16:13 PM
Yes, I would like to play and learn. Thanks.


Title: Re: Interest in my miner stats script?
Post by: Maxxx on May 26, 2011, 10:17:46 PM
I am interested. I currently just have basic textual stats that get updated via chronjobs. I think your charts are pretty nifty.


Title: Re: Interest in my miner stats script?
Post by: disq on May 26, 2011, 11:14:11 PM
I'm also working on some stuff tonight:

https://i.imgur.com/8ooou.png
https://i.imgur.com/sUpiF.png
https://i.imgur.com/bqDk0.png

It was weird to see another new project drawing a Fans-vs-Temp-vs-Load graph. :)

My version uses aticonfig and (obviously) rrdtool, glued together with php-cli. I was going to go for pyADL but then noticed it didn't expose the available device list, so I didn't. (and writing cli scripts in PHP is much faster for me anyways)


Title: Re: Interest in my miner stats script?
Post by: nzbtc on May 26, 2011, 11:30:53 PM
Is there a way to get the stats in windows? I am interested in this, but use windows as my mining os.


Title: Re: Interest in my miner stats script?
Post by: Mononofu on May 27, 2011, 10:01:53 AM
Ok, here is the GitHub repo: https://github.com/Mononofu/Mining-Monitor

If you like it, please consider donating: 12hRVCNM3jHeZ9h1oThUmSKHsnBcVimsaa
I'm a poor student and need to eat too :\


Title: Re: Interest in my miner stats script?
Post by: rontus on May 31, 2011, 06:33:58 AM
Hello Monofu,

your script seems to be interesting. I don't know ~anything about Python but somehow I managed to install and setup everything that this script needs. I am able to use functions like print ADL.getTemp() from ADK successfully.

If I try the crontab's first new line, DISPLAY=:0.0 python save_stats.py, manually in terminal I only get this:
Code:
  File "save_stats.py", line 8
    config.
          ^
SyntaxError: invalid syntax

everything else seems to be working, your script creates .csv-files under /var/www/stats/ correctly etc.

Anyone have a guess on the possible problem? I hate to be so close for working stats :)