sh cgminer.sh stop
sh cgminer.sh start
or
sh cgminer.sh restart
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.
echo "procs|" > /tmp/procs.cmd
nc localhost 4028 < /tmp/procs.cmd > /tmp/nc.procs.out
./procs.awk /tmp/nc.procs.out
rm /tmp/procs.cmd
rm /tmp/nc.procs.out
cat >/etc/opkg/feeds.conf <<\EOF
src/gz noarch http://feeds.angstrom-distribution.org/feeds/v2013.06/ipk/eglibc/all/
src/gz base http://feeds.angstrom-distribution.org/feeds/v2013.06/ipk/eglibc/armv7ahf-vfp-neon/base/
src/gz beaglebone http://feeds.angstrom-distribution.org/feeds/v2013.06/ipk/eglibc/armv7ahf-vfp-neon/machine/beaglebone/
EOF
opkg update
opkg install angstrom-feed-configs
rm /etc/opkg/feeds.conf
opkg update
opkg install update-alternatives
opkg install automake autoconf make gcc cpp binutils git less pkgconfig-dev ncurses-dev libtool bash i2c-tools-dev
while ! opkg install libcurl-dev; do true; done
ln -s aclocal-1.12 /usr/share/aclocal
curl http://www.digip.org/jansson/releases/jansson-2.0.1.tar.bz2 | tar -xjvp
cd jansson-2.0.1
./configure --prefix=/usr CC=arm-angstrom-linux-gnueabi-gcc --disable-static NM=arm-angstrom-linux-gnueabi-nm
make install && ldconfig
cd ..
git clone git://github.com/luke-jr/bfgminer
cd bfgminer
./autogen.sh
git clone git://github.com/troydhanson/uthash
./configure --host=arm-angstrom-linux-gnueabi --enable-knc CFLAGS="-I$PWD/uthash/src -O0 -ggdb"
make AR=arm-angstrom-linux-gnueabi-ar
make AR=arm-angstrom-linux-gnueabi-ar api-example
###/etc/init.d/cgminer.sh stop
###./bfgminer -S knc:auto -c /config/cgminer.conf
for( y=1 ; y <= 384 ; y++) {
die Mh/s HW% min max Volt Amp Watt Gh/W
0_0 646.56 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 31.035
0_1 609.13 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 29.238
0_2 595.10 1.389 ( 0.00 / 66.67 ) 1.00 1.00 1.00 28.565
0_3 625.97 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 30.046
40.0 C
1_0 684.10 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 32.837
1_1 606.42 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 29.108
1_2 632.37 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 30.354
1_3 563.11 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 27.029
41.0 C
2_0 629.06 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 30.195
2_1 670.99 1.389 ( 0.00 / 66.67 ) 1.00 1.00 1.00 32.208
2_2 563.07 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 27.027
2_3 609.80 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 29.270
44.5 C
3_0 669.40 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 32.131
3_1 594.51 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 28.536
3_2 634.89 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 30.475
3_3 567.33 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 27.232
48.0 C
4_0 599.24 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 28.763
4_1 650.87 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 31.242
4_2 565.48 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 27.143
4_3 689.70 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 33.105
43.0 C
5_0 573.87 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 27.546
5_1 698.01 0.260 ( 0.00 / 12.50 ) 1.00 1.00 1.00 33.504
5_2 506.54 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 24.314
5_3 661.96 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 31.774
45.0 C
542.735 Gh/s
000.328 %R
000.520 %HW
540.658 Gh/s expected @ pool
slot 0,slot 3,slot 4,slot 5,in service (slot #s start at ZERO!)
die Mh/s HW% min max Volt Amp Watt Gh/W
0_0 714.33 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 34.288
0_1 775.13 0.001 ( 0.00 / 0.00 ) 1.00 1.00 1.00 37.206
0_2 770.64 0.744 ( 0.60 / 0.90 ) 1.00 1.00 1.00 36.991
0_3 775.28 0.001 ( 0.00 / 0.00 ) 1.00 1.00 1.00 37.214
57.0 C
1_0 749.71 0.000 ( 0.00 / 0.00 ) 1.00 1.00 1.00 35.986
1_1 775.35 0.012 ( 0.01 / 0.02 ) 1.00 1.00 1.00 37.217
1_2 775.40 0.981 ( 0.94 / 1.03 ) 1.00 1.00 1.00 37.219
1_3 773.71 0.010 ( 0.01 / 0.02 ) 1.00 1.00 1.00 37.138
58.5 C
root@knc1:/config#
----------------SNIP---------------------
ProcID=184 57.00C MHS5s=875.602 A=48 HW_0.4632% 0.795V 54.188A 43.0795W
ProcID=185 57.00C MHS5s=874.609 A=54 HW_0.5050% 0.795V 54.188A 43.0795W
ProcID=186 57.00C MHS5s=874.925 A=44 HW_0.3925% 0.795V 54.188A 43.0795W
ProcID=187 57.00C MHS5s=875.179 A=55 HW_0.3656% 0.795V 54.188A 43.0795W
ProcID=188 57.00C MHS5s=874.114 A=48 HW_0.5069% 0.795V 54.188A 43.0795W
ProcID=189 57.00C MHS5s=875.077 A=59 HW_0.4384% 0.795V 54.188A 43.0795W
ProcID=190 57.00C MHS5s=874.119 A=50 HW_0.4705% 0.795V 54.188A 43.0795W
ProcID=191 57.00C MHS5s=875.199 A=56 HW_0.4576% 0.795V 54.188A 43.0795W
die3 ends
313.107 Gh/s
000.610 %R
001.109 %HW
311.541 Gh/s expected @ pool
slot 2,slot 3,in service (slot #s start at ZERO!)
die Mh/s HW% min max Volt Amp Watt Gh/W
0_0 799.04 0.596 ( 0.32 / 0.87 ) 0.80 47.75 38.25 1.003
0_1 832.49 0.771 ( 0.50 / 1.01 ) 0.83 49.94 41.70 0.958
0_2 747.19 3.115 ( 2.81 / 3.42 ) 0.79 46.94 37.17 0.965
0_3 795.39 0.709 ( 0.00 / 0.89 ) 0.79 48.81 38.32 0.996
53.5 C
1_0 799.80 0.223 ( 0.02 / 0.42 ) 0.80 47.50 38.14 1.007
1_1 849.52 0.301 ( 0.20 / 0.45 ) 0.79 51.94 41.13 0.991
1_2 825.26 2.794 ( 2.39 / 3.30 ) 0.81 51.19 41.36 0.958
1_3 874.38 0.386 ( 0.22 / 0.51 ) 0.80 54.19 43.08 0.974
57.0 C
#!/usr/bin/awk -f
BEGIN {
RS="[|,]"; FS="="
}
/PGA/{PGAct++}
#Name=KNC
###/ID/ {if ($1=="ProcID"){ID[IDct++]=$2};next}
/ProcID/{ProcID[++ProcIDct]=$2}
/Enabled/{En[++Enct]=$2}
/Status/{Stat[++Statct]=$2}
/Temperature/{Temp[++Tempct]=$2}
#Device Elapsed
/MHS av/{MHSav[++MHSavct]=$2}
/MHS 5s/{MHS5s[++MHS5sct]=$2}
/Difficulty Accepted/ {next}
/Accepted/{A[++Act]=$2}
/Difficulty Rejected/{next}
/Rejected/{R[++Rct]=$2}
/Hardware Errors/{HW[++HWct]=$2}
#Utility
#Stale
#Last Share Pool
#Last Share Time
#Total MH
#Diff1 Work
#Work Utility
#Difficulty Accepted
#Difficulty Rejected
#Difficulty Stale0.00000000
#Last Share Difficulty
#Last Valid Work
/Device Hardware\%/{HWp[++HWpct]=$2}
/Device Rejected\%/{Rp[++Rpct]=$2}
/Voltage/{V[++Vct]=$2}
/DCDC Current/{I[++Ict]=$2}
{
#should be nuthin to do
}
END {
print IDct
for (x=1;x{
print "ProcID="ProcID[x]" "Temp[x]"C MHS5s="MHS5s[x]" A="A[x]" HW_"HWp[x]"% "V[x]"V "I[x]"A "V[x]*I[x]"W";
if (x%48==0){print "die"((x/48)-1)%4" ends"};
if (x%192==0 && (x+1)if (x%48==0 && (x+1) Gh+=MHS5s[x];
HWpTotal+=HWp[x];
RpTotal+=Rp[x];
}
printf "%6.3f %s\n", (Gh/1000)," Gh/s";
printf "00%5.3f %s\n", RpTotal/PGAct," %R";
printf "00%5.3f %s\n", HWpTotal/PGAct," %HW";
printf "%6.3f %s\n", (Gh - ((Gh/100) * (HWpTotal/384)) + ((Gh/100) * (RpTotal/384)) )/1000," Gh/s expected @ pool";
"i2cget -y 2 0x71 2" | getline spi_en
# printf "%s\t\n", "spi_en="spi_en
spi = substr(spi_en, 3)
for (i = 1; i <= 2; i++)
{
c = substr(spi, i, 1)
c = tolower(c)
if ((k = index("0123456789", c)) > 0) {k--}
else if ((k = index("abcdef", c)) > 0) {k += 9}
if (i == 2){spi_en_dec+=k}
if (i == 1){spi_en_dec+=(k * 16)}
}
for (j=0;j<6;j++){
bit=(and(spi_en_dec, 1) ? "1" : "0")
slot[j]=bit
spi_en_dec=rshift(spi_en_dec, 1)
if (slot[j]==1){printf "%s", "slot "j","}
}
printf "%s\n", "in service (slot #s start at ZERO!)"
die=0;
ASIC=0;
min="";
max="";
y=0;
HWpTotal="";
MHS5sTotal="";
print "die Mh/s HW% min max Volt Amp Watt Gh/W"
for( y=1 ; y <= PGAct ; y++) {
if(y==1 + (48*die)) {
min=max=HWp[y];
}
if (min > HWp[y]) {
min=HWp[y];
}
if (max < HWp[y]) {
max=HWp[y];
}
MHS5sTotal+=MHS5s[y]
HWpTotal+=HWp[y];
# print "HWpTotal=" HWpTotal;
if ( y == (48 + (48*die)) ) {
# print ASIC"_"die%4," ",(MHS5sTotal/48)" Mh/s","HW% "(HWpTotal/48)," \t("min, "/"max")","V="V[y]" I="I[y]" W="V[y]*I[y],"\t Gh/W="(MHS5sTotal/1000)/(V[y]*I[y])
printffmt="%s %5.2f %-s %5.3f %s %4.2f %s %-4.2f %s %-4.2f %s %-4.2f %s %-4.2f %s %-5.3f %s"
printf printffmt, ASIC"_"die%4" ",(MHS5sTotal/48)," ",(HWpTotal/48)," (",min,"/",max,") ",V[y],"",I[y],"",V[y]*I[y]," ",(MHS5sTotal/1000)/(V[y]*I[y]),"\n"
HWpTotal=0;
MHS5sTotal=0;
++die;
}
if ( y%192 == 0) {
ASIC++;
printf "%3.1f %-s\n", Temp[y],"C";
}
}
}
echo "procs|" > procs.cmd
nc localhost 4028 < procs.cmd > nc.procs.out
./procs.awk nc.procs.out
rm procs.cmd
rm nc.procs.out