I am running my local BCH node for solo mining and thought I would create a script to monitor the node's activity and display various related data. This simple monitoring tool is perfect for BCH, BTC and other SHA256d algorithm nodes that use bitcoind, bitcoin-cli node files that are system installed. I hope I can contribute with this small project to the community and many of you will enjoy my creation.
BCH Version = the current version of the node you are running.CPU Usage = the CPU usage that your computer is utilizing overall and specifically what the node is utilizing.
RAM Usage = the memory usage that your computer is utilizing overall and specifically what the node is utilizing.
Disk Space = the amount of disk space used for the node's 'blocks' and 'chainstate' directories specifically.
Height = the current block height and also what percentage the node has been synced.
Difficulty = the current network difficulty.
Net Hash = the current total network hash rate.
Uptime = the exact time since the node has been running.
Total Connected Peers= the sum of the number of outbound and inbound peers the node is currently connected to.
Outbound = the number of outbound peers the node is currently connected to.
Inbound = the number of inbound peers the node is currently connected to.
Last Updated = date and time stamp to display that the application is running and monitoring the node.
App. Version = application version number.
Outbound Peers = outbound peers' IP Address, port and latency data in milliseconds. Each table can hold 20 lines. When you have more than 20 peers, the script automatically creates another table. Peers are listed in the order of their latency number.
Inbound Peers = inbound peers' IP Address, port and latency data in milliseconds. Each table can hold 20 lines. When you have more than 20 peers, the script automatically creates another table. Peers are listed in the order of their latency number.
I am open to feedback and future requests to enhance the capability of this application. Please do not hesitate to write up an issue if you notice anything not working properly. Alternatively, you can reach out via Reddit: https://www.reddit.com/r/Options4Good/
Linux Dependencies
In the terminal perform the below command:
sudo apt update && sudo apt install python3 python3-pip python3-venv -yDownload the latest bchnodemonitor.py file from the "Releases" section: https://github.com/options4good/Bitcoin-Cash-Node-Monitor/releases
Start the application from the terminal running the below command:
python3 bchnodemonitor.pyDGB wallet address: DEkZrJo1BHdiqnQq1XQSWGymEcDWGAWwZs
DOGE wallet address: DKZ9sv4VoTiQQdwi7VY25573UfpQqZJfYf
LTC wallet address: MJw3XHpR65Ec8rKEBthK5Dnvcy1CixYGTa
BCH wallet address: bitcoincash:qq66dg3vhczrqf4zy4kxje3c45vz47khsufsludxcc
Thank you.