Hi papampi,
I'm using your telegram messages. Excellent!
I've a small improvement for miner uptime (I got always empty), so I check command. There is used unknown option
-p and failed
The universal solution is:
ps -eo comm,etime | grep -i miner | grep -vi cpu | awk '{print $2}'
Other infos are empty too, I check later