Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0019-1.4
by
Havesovgosh
on 20/11/2017, 13:59:44 UTC
Hi,
I'm trying to use telegram alerts, but didn't receive any messages. I can see in Guake the following error:

bash /home/m1/BaliMiner_TELEGRAM_ALERTS
m1@m1-desktop:~$ bash /home/m1/BaliMiner_TELEGRAM_ALERTS
error: process ID list syntax error

Usage:
 ps [options]

 Try 'ps --help '
  or 'ps --help '
 for additional help text.

For more details see ps(1).
curl: option -d: requires parameter
curl: try 'curl --help' or 'curl --manual' for more information

New Telegram in 180 seconds

error: process ID list syntax error

Usage:
 ps [options]

 Try 'ps --help '
  or 'ps --help '
 for additional help text.

For more details see ps(1).
curl: option -d: requires parameter
curl: try 'curl --help' or 'curl --manual' for more information

New Telegram in 180 seconds
---------------------
I'm using NVOC 19 1.3.

I have tried to install curl, but the latest version already there.
What is the problem can someone help on this.


Its not a big problem, an error when system started and telegram checks miner up time but there is no miner up yet.
you can ignore it or in telegram find out where MINER_UP_TIME is and replace that line with this:


Code:
MINER_PID=$(ps ax | grep SCREEN | grep miner | awk '"miner" {print $1}' )
if [ -n  "$MINER_PID" ]
then
MINER_UP_TIME=$(ps -p $MINER_PID -o etime | grep -v ELAPSED)
else
MINER_UP_TIME=("Not Running")
fi


Hi Papampi,

Thx for info.
I have changed and it works good, but my GPU count is wrong in the message.