Hello,
i wrote a few scripts for my own mining rig, maybe someone else is also interested.
I have not tested this on windows/mac, so it might not work.
About my setup and how I use these scripts:
water cooled silent system, no noise or temp issues
I use the computer also for other stuff(work, movies, whatever)
when i move the mouse/press keys, then quiet profile is selected, memory and gpu and intensity go to a low level so that i can normally work and use my pc
If the system is idle for 5 minutes, then it goes to average profile, slightly higher clock and intensity, also if certain programs are runing (vlc, xmms ...) it will go there even if not idle, also it will not go to full load when these programs run.
When the system is idle for 60 minutes, it turns off displays and goes into full mining mode. (if the list of programs are not running) This way you can watch movies.
I also changed acpid configuration so when the power button is pressed it goes immediately to the full load, until the mouse or keyboard is moved again. ( it simply creates a file)
This is also awesome if you are testing new clocks, since you do not have to restart cgminer and you can immediately change back to lower clock by moving the mouse (here you might want to disable the turning off of the screens, just comment out the xset dpms...)
Can also be used for pool rotation, example included.
cgminer_pipe.py
- send all supported api commands to cgminer api and get bash / shell script friendly output
- easy to use from command line
- grep and cut all you want
activity_monitor.sh
- monitors X activity or running programs and change the "profile" accordingly.
- force full load even if X is used (touch a file)
- turn off monitors when full load is activated (save power!)
- 3 profiles (quiet, average, fast)
- profile changes intensity, memory clock and gpu clock
- easy to adapt for multiple cards or just one card.
Be sure to modify the activity_monitor.sh for your rig!
Link also includes examples for cgminer_pipe.py usage
- change intensity
- change gpu clock
- List pools
- Add pool
- Rotate 2 pools every X hours
See
http://wiki.loovsys.eu/index.php/Cgminer_API_python_client_for_bash_and_shell_script_for_profiling_when_system_is_idleIf you don't like it don't use it, if you like it feel free to donate.
Just my contribution to the community.
BTC 12Nfc9LANAd4HNoVUxSw23kyKvpaLkKYGG