Gather and display statistics for one or more rigs and GPUs that run cgminer to mine cryptocurrencies.
Every instance of cgminer you wish to monitor must be running the RPC API. To enable it, append the following to cgminer's command line invocation (or the config file / shell script you run):
--api-listen --api-allow W:192.168.1.0/24 --api-mcast
In the above example, we allow connections from any IP address containing the
first three octets (192.168.1.xxx). For more information on security and the
--api-allow
command, visit the API-README
on the cgminer repository.
Download this repository, and edit the minerstat
file, configuring the RIGS
variable to list the machines you are monitoring. Separate each machine with
a newline, like so:
RIGS = """
192.168.1.14
192.168.1.15
"""
Simply invoke minerstat
from the command line once you have completed
the installation steps outlined above.
If you found this utility helpful, please consider donating to the author:
- BTC:
1AxT6VUuVZrVHAiv6geAd4kgqsEYQGoJAm
- LTC:
Ld2negemWZur6BqJiwoRzWkKzSHfa1f6wg
- GLD:
E8ExQSG25PdDygjGrFWTUGjCfek1nBP7yw
Thank you!