Skip to content

Build: Connection Status

shermand100 edited this page Aug 5, 2019 · 1 revision

Connection Status

Connection Status

The html file for the 'Connection Status' is named 'peer_status.html'

Network Peers: Live Connected

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

Network Peers: Stored

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

Network Peers: Full

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