Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- code=`echo $0 | cut -c 26-59`
- case $1 in
- config)
- cat <<'EOM'
- graph_category p2pool
- graph_vlabel payout
- miner_payout.label payout
- EOM
- echo "graph_title payout" $code
- exit 0;;
- esac
- /usr/bin/wget -q http://happymining.de:7903/current_payouts -O /tmp/current_payouts.json
- miner_payout=`/usr/local/bin/jshon -Q -e $code < /tmp/current_payouts.json`
- echo "miner_payout.value" $miner_payout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement