1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 15:56:26 +02:00

icarus-miner: record time on u.log and export to webserver ROUTER_IP/u.log

This commit is contained in:
Xiangfu Liu 2012-02-10 09:47:09 +08:00
parent 3a9287c415
commit ed8a0b7d51
3 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ WORKER=http://xiangfu.z@gmail.com_1:1234@pit.deepbit.net:8332/
SCRIPT_PATH=`pwd`
${SCRIPT_PATH}/icarus_undermanager.py -a ${API_KEY} > ${SCRIPT_PATH}/u.log 2>&1
date >> ${SCRIPT_PATH}/u.log
TRUE_COUNT=`less ${SCRIPT_PATH}/u.log | grep "\"alive\": true" | wc -l`
HASHRATE=`less ${SCRIPT_PATH}/u.log | grep "\"hashrate\": 0," | wc -l`

View File

@ -0,0 +1 @@
icarus_monitor.sh not start yet

1
icarus-miner/data/www/u.log Symbolic link
View File

@ -0,0 +1 @@
../root/scripts/u.log