monerod as service, mining with 3 threads. How can I get the hashrate info?
monerod status fails to connect:
$ monerod status Error: Couldn't connect to daemon: 127.0.0.1:18081 Height: 1480810/1480810 (100.0%) on mainnet, mining info unavailable, net hash 644.80 MH/s, v6, up to date, 9(out)+36(in) connections, uptime 1d 1h 47m 55s $ netstat -nap | grep 18081 tcp 0 0 0.0.0.0:18081 0.0.0.0:* LISTEN -
The port is open (
telnet 127.0.0.1 18081 connects properly).
edit: I noticed the
restricted-rpc option blocks mining info from being accessed. The node is public and I need to keep that option. So, the question is how can I check hashrate in such setup?