diff --git a/icarus-miner/data/root/scripts/icarus_monitor.sh b/icarus-miner/data/root/scripts/icarus_monitor.sh index 1b7d962..8183f1a 100755 --- a/icarus-miner/data/root/scripts/icarus_monitor.sh +++ b/icarus-miner/data/root/scripts/icarus_monitor.sh @@ -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` diff --git a/icarus-miner/data/root/scripts/u.log b/icarus-miner/data/root/scripts/u.log new file mode 100644 index 0000000..7a33c8b --- /dev/null +++ b/icarus-miner/data/root/scripts/u.log @@ -0,0 +1 @@ +icarus_monitor.sh not start yet diff --git a/icarus-miner/data/www/u.log b/icarus-miner/data/www/u.log new file mode 120000 index 0000000..40aea2a --- /dev/null +++ b/icarus-miner/data/www/u.log @@ -0,0 +1 @@ +../root/scripts/u.log \ No newline at end of file