apt update
apt install build-essential libglvnd-dev pkg-config
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.57.02/NVIDIA-Linux-x86_64-470.57.02.run
apt update
apt install build-essential libglvnd-dev pkg-config
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.57.02/NVIDIA-Linux-x86_64-470.57.02.run
| EthMan uses raw TCP/IP connections (not HTTP) for remote management and statistics. Optionally, "psw" field is added to requests is the password for remote management is set for miner. | |
| The following commands are available (JSON format): | |
| ---------------- | |
| REQUEST: | |
| {"id":0,"jsonrpc":"2.0","method":"miner_getstat1"} | |
| RESPONSE: | |
| {"result": ["9.3 - ETH", "21", "182724;51;0", "30502;30457;30297;30481;30479;30505", "0;0;0", "off;off;off;off;off;off", "53;71;57;67;61;72;55;70;59;71;61;70", "eth-eu1.nanopool.org:9999", "0;0;0;0"]} |
| #!/usr/bin/python3 | |
| import os | |
| import signal | |
| import subprocess | |
| import sys | |
| import time | |
| try: | |
| TIMEOUT_NO_ACTIVITY_SECONDS = int(os.getenv('TIMEOUT_NO_ACTIVITY_SECONDS', 60)) |