Date:2012-02-10 02:47:09 (9 years 15 days ago)
Author:Xiangfu Liu
Commit:ed8a0b7d51607ecbfabce1d084dad4b5a1dd7a20
Message:icarus-miner: record time on u.log and export to webserver ROUTER_IP/u.log

Files: icarus-miner/data/root/scripts/icarus_monitor.sh (1 diff)
icarus-miner/data/root/scripts/u.log (1 diff)
icarus-miner/data/www/u.log (1 diff)

Change Details

icarus-miner/data/root/scripts/icarus_monitor.sh
88SCRIPT_PATH=`pwd`
99
1010${SCRIPT_PATH}/icarus_undermanager.py -a ${API_KEY} > ${SCRIPT_PATH}/u.log 2>&1
11date >> ${SCRIPT_PATH}/u.log
1112
1213TRUE_COUNT=`less ${SCRIPT_PATH}/u.log | grep "\"alive\": true" | wc -l`
1314HASHRATE=`less ${SCRIPT_PATH}/u.log | grep "\"hashrate\": 0," | wc -l`
icarus-miner/data/root/scripts/u.log
1icarus_monitor.sh not start yet
icarus-miner/data/www/u.log
1../root/scripts/u.log

Archive Download the corresponding diff file



interactive