You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
294 B
6 lines
294 B
#!/bin/bash
|
|
|
|
cd $HOME/git/veruscoin/src
|
|
PROCS=$(./fiat/verus getmininginfo | grep genproclimit | cut -d: -f2|sed 's/,//g')
|
|
MSG=$(./fiat/verus getlocalsolps | awk -v THREADS="$PROCS" '{ print "loki: " $1 / (1000*1000) " MH/s with " THREADS " threads" }')
|
|
echo $MSG | ~/bin/telegram_send --stdin
|
|
|