Very cool! Glad to see it being useful for more folks! If you would like any changes, just ask, or if you do any mods, feel free to share.
Best,
- Tye
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.
watch -n 10 bcshow
alias bcmon='watch -n 10 bcshow'
#!/bin/bash
# These scripts assume your blades are between 192.168.1.200 and 192.168.1.210
# and your cubes are 192.168.1.211 and higher. If you have a different
# configuration, please edit the cutoff numbers here:
bladelow=200
bladehigh=210
# Enter your network prefix here. If your network is 192.168.1.x,
# then just enter the first 3 portions, as below:
net="192.168.1"
# The web interfaces are standard, i.e. port 8000 for both blades and cubes
if [ "$1" = "" ] ; then exit ; fi
dev="Blade"
spc=""
n=$(($1-$bladelow))
if [ $1 -gt $bladehigh ] ; then
dev="Cube"
n=$(echo -n $(($1-$bladehigh))" ")
spc=" "
fi
if [ $1 -le $bladehigh ] ; then
t=$(curl -s http://$net.$1:8000 | sed 's/^.*MHS:/MHS:/' | sed 's/s<\/.*/s/' | sed 's/<[^>]*>/ /g' | sed 's/:/: /g' | tr -s " ")
mp=2 ; jp=4 ; ap=6 ; wup=9 ; ep=11 ; upp=14
else
t=$(curl -s http://$net.$1:8000 | sed 's/^.*Jobs:/Jobs:/' | sed 's/s<\/.*/s/' | sed 's/<[^>]*>/ /g' | sed 's/:/: /g' | tr -s " ")
mp=13 ; jp=2 ; ap=4 ; wup=15 ; ep=17 ; upp=20
fi
tmh=$(echo $t | cut -f $mp -d " ")
gh=$(printf "% 6.3f\n" $(echo $tmh/1000 | bc -l))
tjobs=$(echo $t | cut -f $jp -d " " | sed 's/^0*//')
tacc=$(echo $t | cut -f $ap -d " " | sed 's/^0*//')
acc=""$(printf "% 9.0f\n" $tacc)""
let tlost=$tjobs-$tacc
lost=""$(printf "% 9.0f\n" $tlost)""
tutil=$(echo $t | cut -f $wup -d " ")
util=""$(printf "% 3.0f\n" $tutil)""
teff=$(echo $t | cut -f $ep -d " ")
numeff=$(echo $teff | cut -d "%" -f 1)
eff=""$(printf "% 6.2f\n" $numeff)""
tup=$(echo $t | cut -f $upp -d " ")
printf "% -8s" " $dev #$n"
printf "% 3s" " :"
printf "% 8s" $gh
printf "% 9s" "$eff%"
printf "% 11s" "$util/m |"
printf "% 12s" $acc
printf "% 10s" $lost
printf "% 17s\n" $tup
#!/bin/bash
# Enter the last portion of the ip address of each blade and cube, and
# a "0" indicates you want a line skipped.
ips=(201 203 0 211 212 213 214 215)
let tot=0
echo --------------------------------------------------------------------------------
echo " GH/s Eff Util Accepts Lost Uptime"
echo --------------------------------------------------------------------------------
for ip in ${ips[@]}
do
if [ "$ip" -gt 0 ] ; then
. bcread $ip
let tot="$tot"+"$(echo $tmh|sed 's/^0*//')"
else
echo " : |"
fi
done
echo --------------------------------------------------------------------------------
printf " Total : %6.3f GH/s" $(echo $tot/1000 | bc -l)
echo
echo
echo
tail -5 ~/.shamine/shalog
echo