-
Notifications
You must be signed in to change notification settings - Fork 3
Build: Connection Status
shermand100 edited this page Aug 5, 2019
·
1 revision
The html file for the 'Connection Status' is named 'peer_status.html'
The 'Network Peers: Live Connected' field is populated by a text file embedded by html
<p> <embed src="print_cn.txt" </p>
The file print_cn.txt is populated by bash script '/home/pinodexmr/print_cn.sh' calling:
./monerod print_cn > /var/www/html/print_cn.txt
This script is called every 60 seconds via crontab
The 'Network Peers: Stored' field is populated by a text file embedded by html
<p> <embed src="print_pl_stats.txt" </p>
The file print_pl_stats.txt is populated by bash script '/home/pinodexmr/print_pl_stats.sh' calling:
./monerod print_pl_stats > /var/www/html/print_pl_stats.txt
This script is called every 60 seconds via crontab
The 'Network Peers: Full' field is populated by a text file embedded by html
<p> <embed src="print_pl.txt" </p>
The file print_pl.txt is populated by bash script '/home/pinodexmr/print_pl.sh' calling:
./monerod print_pl_stats > /var/www/html/print_pl_stats.txt
This script is called every 60 seconds via crontab