Advertisement
fydel

miner_XpQ8rSWuEGqr9zm9U6wjqcmHPcV8SLV3GN-payout

Jul 26th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. code=`echo $0 | cut -c 26-59`
  4.  
  5.  
  6. case $1 in
  7.    config)
  8.         cat <<'EOM'
  9. graph_category p2pool
  10. graph_vlabel payout
  11. miner_payout.label payout
  12. EOM
  13. echo "graph_title payout" $code
  14.  
  15.         exit 0;;
  16. esac
  17.  
  18. /usr/bin/wget -q http://happymining.de:7903/current_payouts -O /tmp/current_payouts.json
  19. miner_payout=`/usr/local/bin/jshon -Q -e $code < /tmp/current_payouts.json`
  20.  
  21. echo "miner_payout.value" $miner_payout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement