It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
sudo nano /var/www/html/multiminerinfo.html
Multi Miner Info
echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
if [ $COUNT -le 0 ]
then
# Begin Stubo Mod
# Wait for Internet
while ! nc -vzw1 google.com 443;
do
echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
sleep 30
done
#
# INTERNET_IS_GO=0
#
# if nc -vzw1 google.com 443;
# #if nc -vzw1 $POOL 80;
# then
# INTERNET_IS_GO=1
# fi
echo ""
# if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
if [ $RESTART -gt 4 ]
# End Stubo Mod
then
echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
sudo reboot
fi
# If miner runs in screen 'miner' kill the screen to be sure it's gone
pkill -e miner
bash '/home/m1/telegram'
echo "$(date) - Utilization is too low: restart 3main" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
# Best to restart oneBash - settings might be adjusted already
target=$(ps -ef | awk '$NF~"3main" {print $2}')
kill $target #| tee -a ${LOG_FILE}
if [ $COUNT -le 0 ]
then
# Begin Stubo Mod
# Wait for Internet
while ! nc -vzw1 google.com 443;
do
echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
sleep 30
done
# End Stubo Mod
INTERNET_IS_GO=0
if nc -vzw1 google.com 443;
# #if nc -vzw1 $POOL 80;
then
INTERNET_IS_GO=1
fi
echo ""
if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
then
echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
echo "" #| tee -a ${LOG_FILE}
bash '/home/m1/telegram'
sleep 10
sudo reboot
fi
echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
[quote author=papampi link=topic=1854250.msg24558877#msg24558877 date=1510656088]
[quote author=Stubo link=topic=1854250.msg24558180#msg24558180 date=1510655126]
[b]Another IAmNotAJeep_and_Maxximus007_WATCHDOG Mod[/b]
I had my Verizon FIOS service upgraded the other day and I was unable to shutdown all of my miners before the tech interrupted my internet. This made me scrutinize how the watchdog handles that situation (not very well, IMO) so I made the following modification to just wait on internet service to return rather than just looping, restarting mining, and restarting the host as usual.
[code]
if [ $COUNT -le 0 ]
then
# Begin Stubo Mod
# Wait for Internet
while ! nc -vzw1 google.com 443;
do
echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
sleep 30
done
#
# INTERNET_IS_GO=0
#
# if nc -vzw1 google.com 443;
# #if nc -vzw1 $POOL 80;
# then
# INTERNET_IS_GO=1
# fi
echo ""
# if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
if [ $RESTART -gt 4 ]
# End Stubo Mod
then
echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
sudo reboot
fi
# If miner runs in screen 'miner' kill the screen to be sure it's gone
pkill -e miner
bash '/home/m1/telegram'
echo "$(date) - Utilization is too low: restart 3main" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
# Best to restart oneBash - settings might be adjusted already
target=$(ps -ef | awk '$NF~"3main" {print $2}')
kill $target #| tee -a ${LOG_FILE}