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
309 B
6 lines
309 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" -v HOST="$HOSTNAME" '{ print HOST ": " $1 / (1000*1000) " MH/s with " THREADS " threads" }')
|
|
echo $MSG | telegram-send --stdin
|
|
|