Bitcoin Forum
November 06, 2024, 11:15:54 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 [240] 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 ... 417 »
  Print  
Author Topic: [OS] nvOC easy-to-use Linux Nvidia Mining  (Read 418142 times)
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:07:53 PM
 #4781

What exactly is headless mode for? I notice my miner starts up WAY faster when I have this on in terms of setting the overclock settings.
Headless mode is for p106 gpu when you have no monitor attched,
But thats a good question

@fullzero
is it ok to use full headless with other gpus if we dont want to use monitor ?

I noticed individual OC settings don't work with headless mode on, so I've stopped using it.

Headless was intended only for the P106_100 GPUs so it only does general OC.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:09:47 PM
 #4782

New version of nvoc on H110, terminal launches ewbf but ends with screen terminated?

Last version I used was 17 but I dont think 17 works with H110 boards as it only sees 4 GPU's.

Anyone else get this message, ver 17 you can see the miner working.

Thanks

My guess is you have a configuration problem with the address / pool ( in 1bash) you are using and the mining client you are using is closing due to not connecting to a pool.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:18:40 PM
 #4783


Like I said before, I was very much interested in mining the highest difficulty drop coins based on WTM (purely based on difficulty drop not the profit), so I had that smartMiner, but when looking into the new ANN pages, I have seen lot of upcoming potential coins (can't see them in the json)


I think the strategy of mining alt-altcoins and then holding until they gain some traction has a lot of merit. Sure, you collect a bunch of losers, but a small number of big winners should rule the roost.

Important note, though: many alt-alt-coins get started before they are listed on an exchange, right? If that's the case, you'll never see them on a site like WTM, which pulls pricing from exchanges! If so, we must choose to mine them directly, and without a price reference. A large number of coins is the reward for supporting a project before everyone knows it has succeeded.

For recently-listed altcoins on exchanges, we also have the option of simply trading into them on the exchanges, which is probably quicker and easier than adding support from them in nvOC. Quite honestly, as time goes by, many of those coins will become deprecated garbage in 1bash... it's a bit inevitable, so it doesn't make a lot of sense to build the ecosystem around them. So adding these alt-altcoins, especially those that aren't listed on exchanges, seems like a waste of effort and the creation of future bloat.

Perhaps this is a good case for a "sidebash..." a file just for short-term speculative coin inclusion. Coins could be dated on entry, and after 90 or 180 days or something, a coin gets migrated into 1bash as a going concern, or gets dropped as a pointless coin.

You should be able to remove the address / pool / worker settings for the coins you don't use from your 1bash without any issue.  In terms of not bloating 1bash I intend to address this issue by making a simple 1bash for v0020.  Everyone should then be able to use the simple, the normal (advanced) or customize the automation features of the simple to mix a simpler 1bash with advanced customization.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:27:43 PM
 #4784

Hi papami,

I downloaded the new fullzero image (1-3) and applied your scripts that recently post here and I can not get your WTM_SWITCH script to run correctly.

I simply added my list of coins like this in the 1bash:
Code:
	WTM_AUTO_SWITCH_COINS="[ 'ZEC', 'ETH', 'VTC', 'HUSH','ZEN', 'ZCL', 'FTC', 'KMD','ETC',  ]"

changed the time between queries to 9 minutes:
Code:
WTM_AUTO_SWITCH_SYNC_INTERVAL = "9" # Time to sync with WTM for best coins

Added my URL from whattomine.com like this:
Code:
WTM_AUTO_SWITCH_URL = "https://whattomine.com/coins.json?utf8=%E2%9C%93&adapt_q_280x=0&adapt_q_380=0&adapt_q_fury=0&adapt_q_470=0&adapt_q_480=3&adapt_q_570=0&adapt_q_580=0&adapt_q_750Ti=0&adapt_q_10606=0&adapt_q_1070=2&adapt_1070=true&adapt_q_1080=0&adapt_q_1080Ti=0&eth= true & factor% 5Beth_hr% 5D = 60.0 & factor% 5Beth_p% 5D = 240.0 & grof = true & factor% 5Bgro_hr% 5D = 71.0 & factor% 5Bgro_p% 5D = 260.0 & x11gf = true & factor% 5Bx11g_hr% 5D = 23.0 & factor% 5Bx11g_p% 5D = 240.0 & cn = true & factor% 5Bcn_hr% 5D = 1000.0 & factor% 5Bcn_p% 5D = 200.0 & eq = true & factor% 5Beq_hr% 5D = 860.0 & factor% 5Beq_p% 5D = 240.0 & Ist = true & factor% 5Blrev2_hr% 5D = 71000.0 & factor% 5Blrev2_p% 5D = 260.0 & ns = true & factor% 5Bns_hr% 5D = 2100.0 & factor% 5Bns_p% 5D = 310.0 & lbry = true & factor% 5Blbry_hr% 5D = 540.0 & factor% 5Blbry_p% 5D = 240.0 & bk2bf = true & factor% 5Bbk2b_hr% 5D = 3200.0 & factor% 5Bbk2b_p% 5D = 240.0 & BK14 = true & factor% 5Bbk14_hr% 5D = 5000.0 & factor% 5Bbk14_p% 5D = 250.0 & no = true & factor% 5Bpas_hr% 5D = 1880.0 & factor% 5Bpas_p% 5D = 240.0 & skh = true & factor% 5Bskh_hr% 5D = 53.0 & factor% 5Bskh_p% 5D = 240.0 & factor% 5Bl2z_hr% 5D = 420.0 & f actor% 5Bl2z_p% 5D = 300.0 & Factor% 5Bcost% 5D = 0196 & sort = Revenue & volume = 0 & back = current & Factor% 5Bexchanges% 5D% 5B% 5D = & Factor% 5Bexchanges% 5D% 5B% 5D = bittrex & Factor% 5Bexchanges% 5D% 5B% 5D = bleutrade & factor% 5Bexchanges% 5D% 5B% 5D = bter & factor% 5Bexchanges% 5D% 5B% 5D = c_cex & factor% 5Bexchanges% 5D% 5B% 5D = cryptopia & factor% 5Bexchanges% 5D% 5B% 5D = hitbtc & factor% 5Bexchanges% 5D% 5B% 5D = poloniex & 5Bexchanges factor%% 5D% 5B% 5D = & yobit dataset = Main & commit = Calculate "

Then I saw in your files 1bash-edit and 3main-edit that it was necessary to add things in these two files,
then I added this in the 1bash:

Code:
# Mininumum difference in percentage to switch too many switches
WTM_MIN_DIFFERENCE = "10"
and that in the 3rd:
if [$ PAPAMPI_WTM_AUTO_SWITCH == "YES"]
Then
Bitcoin = "theground"
# Creating a log file to record corner switch
LOG_FILE = "/ home / m1 / 8_wtmautoswitchlog"
if [-e "$ LOG_FILE"]; Then
  #Limit the logfile, just keep the last 2K
  LASTLOG = $ (tail -n 1K $ LOG_FILE)
  echo "$ LASTLOG"
  echo ""
fi
echo "LAUNCHING: PAPAMPI_WTM_AUTO_SWITCH"
echo ""

# = $ WTM_URL WTM_AUTO_SWITCH_URL
# = $ WTM_COINS WTM_AUTO_SWITCH_COINS
# = $ WTM_MIN_DIFFERENCE WTM_MIN_DIFFERENCE "
#export WTM_URL
#export WTM_COINS
#export WTM_MIN_DIFFERENCE "

cat << EOF> /home/m1/WTM.json
{
 "WTM_URL": "$ WTM_AUTO_SWITCH_URL",
 "WTM_COINS": "$ WTM_AUTO_SWITCH_COINS",
 "WTM_MIN_DIFFERENCE": "$ WTM_MIN_DIFFERENCE"
}
EOF

HCD = '/ home / m1 / PAPAMPI_WTM'
running = $ (ps -ef | awk '$ NF ~ "PAPAMPI_WTM" {print $ 2}')
if ["$ running" == ""]
Then
guake -n $ HCD -r PAPAMPI_WTM_AUTO_SWITCH -e "bash / home / m1 / PAPAMPI_WTM"
Running = ""
fi
fi
at the location you indicate.

But first I had a line error 19 script WTM_AUTO_SWITCH, which I have corrected by going into the file wtm.json where I modified line 3 to put back the list of coins that I had already listed in 1bash:
Code:
 "WTM_COINS": "ZEC; ETH; VTC; HUSH; ZEN; ZCL; FTC; KMD; ETC";

Now I still have an error at line 81 of WTM_AUTO_SWITCH:
Code:
python WTM_AUTO_SWITCH
Currently mining coin: ZEC, profit: 265
New profits
Traceback (most recent call last):
  File "WTM_AUTO_SWITCH", line 81, in <module>
    if newProfits [0] [0] == topCoin [0]:
IndexError: list index out of range

and I do not understand what I see in the files WTM_top_coin and WTM_current_Profit because these selections of coins do not match mine and the scrambled does not correspond to what I can read on the site WTM

So I go back with my nvOC v19 image and mining on MPH.
Time of testing and mining loss: 3h.

can be that the stable and definitive version is not yet ready for a beginner like me ... or so I need more explanations on the operating mode, yet I thought I read your posts about this script and put the updates correctly.
So either the operating mode is too vague and then you have to reduce the number of intermediate stages so that limit the possibilities of errors, or there are still bugs in the scripts.

No doubt the last post of sharing your files updated has misled me too ... I should have done a backup before overwriting those in the image.

Code:
	WTM_AUTO_SWITCH_COINS="[ 'ZEC', 'ETH', 'VTC', 'HUSH','ZEN', 'ZCL', 'FTC', 'KMD','ETC',  ]"

My guess is there is a parsing problem.  The comma at the end might be causing a problem, also not having a space after each comma before the next coin; ie:

Code:
	WTM_AUTO_SWITCH_COINS="[ 'ZEC', 'ETH', 'VTC', 'HUSH', 'ZEN', 'ZCL', 'FTC', 'KMD', 'ETC' ]"

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:30:41 PM
 #4785

My system has been running great for the last couple weeks. I added 2 gpus yesterday and it keeps dying after about 3 hours and does not restart.  The screen goes black.  The only thing to do is reboot.  Any suggestion what might be the issue?

Ensure:

Code:
CLEAR_LOGS_ON_BOOT="NO" 

in 1bash then after this happens open the System log application on the left and examine the logs.

Also, what PSU are you using for how many GPUs?

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:33:51 PM
 #4786

Hi all,

pretty new to this, got mining working great on windows mining zec on slushpool

searched vhigh and low and cannot find an answer on mining on a pool with nvoc any ideas on the config in 1bash for slush pool?

i'm using stratum+tcp://eu.zec.slushpool.com:4444

thanks in advance

this should work

if using:
Code:
ZEC_WORKER="$WORKERNAME"
you will need to add whatever that is at the pool as the workername to get proper stats

Code:
ZEC_WORKER="slush_requires_you_to_prename_your_workers_or_they_will_only_show_up_as_default"
ZEC_ADDRESS="replace_with_your_ZEC_address"
ZEC_POOL="eu.zec.slushpool.com"
ZEC_PORT="4444"

kk003
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
October 22, 2017, 07:44:53 PM
 #4787

A video tutorial how to create a telegram bot and get Api Key + User Id:

https://youtu.be/HS7Q1zH00bs
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:45:15 PM
 #4788

I have an older image of nvOC, and the machine is complaining it is running out of space on the USB.  I looked and see a bunch of stuff in the /var/tmp, but do not have the perms apparently to clean that stuff up.  What is the process for cleaning up the drive so that it doesn't run out of space?  Thanks.

open guake and enter:

Code:
sudo apt-get update

sudo apt-get autoremove

sudo apt-get autoclean

should free up some space by removing unused system files.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 07:52:26 PM
 #4789

Hi!

are you planning to suppur Asus B250 Mining Expert with 19 GPU ?
Any special instructions to run 19 ASUS ROG Strix A8G-1080 ?

Thank you in advance
respectfully,
Sergey

Currently I only know of this mobo working with 19x GPUs when only 13x or less normal GPUs are used and the rest are P106_100s.  I am not sure if 19x of only P106_100s works as well; as I don't have any, and I haven't had a member confirm this.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 08:12:23 PM
 #4790

I'm no coder by any means, but would there be a way to make a bash file that only has your wallet addresses for different coins and automatically inputs it into the 1bash config (kinda how the 1bash fills in things in the 3main file)?

There's a BBT multi-miner for windows where all of the wallet addresses are at the top of the .bat file



and it automatically gets implemented into the startup command for each miner:

Code:
ECHO AMD and NVIDIA Claymore - Eth Only Ethermine.org
Claymore_Dual_Ethereum_v10\EthDcrMiner64.exe -epool us1.ethermine.org:4444 -ewal %ETH_WALLET_ADDRESS%.%MINER_NAME% -epsw x

seems like relatively simple code, but like I said, I'm not a coder by any means lol

Hello,

It seems nice idea, but we are already doing same using 1bash and 3main, we enter our coin details and 3main pull details from 1bash.

With this we will have another file, call it xaddress and 1main pulls data from it and stores then 3main pulls data from 1bash.

It just adds another level of dependency, that is purely just my opinion, should wait for fullzero's opinion on this too.

EDIT :

The main trouble here is, we use different pools for different coins, also not every person use same pool. So nvOC is structured in a way that it can be configured and used for any coin with many pools (1pool at a time) by many people (even beginners)

There are a few posts (so days) I had proposed to Fullzero to use an excel file (CSV) which took all the variables of coins, pools, addresses of wallets (therefore of tradding platforms or pure wallets ).

He seemed to me an enthusiast of this idea. He had even said that he added it to his list of focuses to be implemented in nvOC. I think it has other priorities ....

But as I was writing recently about WTM_Switch, I'm a little scared at the idea of managing pools and addresses at all pools and traddings sites ... A form of scattering of capital that I think unhealthy .

I wanted to extract a list from all coins of the sites of coinwarz and whattomine to try to propose a file possibly usable and requestable but unfortunately I did not have enough time for this weekend ...

Here is again what I had proposed :
https://bitcointalk.org/index.php?topic=1854250.msg22171218#msg22171218

Without keeping an Excel file up to date with wallets, addresses, and other pools, there is something to lose.

Column headers proposed for CSV file :

COIN   ALGO   ALGO_PL   ALGO_CORE_OVCLOCK   ALGO_MEM_OVCLOCK   GLOBAL_TARGET_TEMP   MINER_SOFTWARE   EXTENSION_ARGUMENTS (DUAL MINER)   SOFT_VERSION_MINER   WORKER (NAME)   WALLET_ ADDRESS   WALLET_PROVIDER_NAME   POOL_NAME   POOL_DNS   POOL_PORT   DUAL_WALLET ADDRESS   DUAL_WALLET_PROVIDER_NAME   DUAL_POOL_NAME   DUAL_POOL_DNS   DUAL_POOL_PORT   BTC_ADDRESS   BTC_ADDRESS_PROVIDER   COMMENT

there are probably things to add, but I was just proposing an idea. And it seems that I am no longer the only one to have it even if it is in another form.


There are lots of ways to organize configuration.  The largest problem I have found regarding how the configuration is organized is that some users want more settings and others want less.  It is annoying to update a new version of 1bash with your addresses / pools; especially if you aren't using any of the new features.  At the same time I want to offer as many advanced features as possible.

I do like the idea of being able to export / import ones settings from a csv or json file.  This would greatly simplify the process of updating, which is why I think it will be a good feature to add.  However I don't think it should be used to replace settings in 1bash, but rather to allow members to export / import their settings more easily if desired.

As a very large number of users only mine the primary coins, and new members just want to start mining a primary coin as easily as possible; I intend to address this issue by making a simple 1bash for v0020. 

The simpler 1bash will be for members who just want to start mining primary coins and aren't concerned with perfect optimization / advanced features ( I will make logic to auto OPT based on my own OC settings / pools / the users location ).  For v0020 I will make the default 1bash as simple as possible; I will include a normal (advanced 1bash) inside a directory (folder) named advanced or something similar.  3main will detect if the simple or advanced 1bash is used and execute accordingly.  Thus new members will have the simplest possible 1bash to configure to get up and mining; and advanced users will only have to overwrite the simple 1bash with the one in the advanced directory.

Everyone should then be able to use the simple, the normal (advanced) or customize the automation features of the simple to mix a simpler 1bash with advanced customization.

IMO this combined with csv or json import / export should cover all the use cases without forcing anyone to use a configuration method they view as too simple or too complex.


Ibizian
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
October 22, 2017, 08:17:05 PM
 #4791

Having issues!! Getting error NO SCREEN TO RESUME NAMED MINER. Info below.

I am new and this is my first attempt at building a miner.

I am running an Asus Z270 MOBO with  Asus GTX 1070 cards (1 now, will go to 3or more) I setup my0 bios using all the tips I could find in this rather large thread!

My issue is once I boot using your package it starts perfect then says "no screen to resume named miner." I F12 and type screen -r miner and I get the same error. I have not used Linux in almost 10 years when I was in college but I am computer literate. I know this is a simple issue of the package not finding MINER... So how do I help it find miner so I can get this rig built?? I did find one post that says to put a "switch" file in the folder, but I could not find any more on what that switch file is, or what folder or location to put it in really! I tried to figure this out on my own. Been hunting for it since last night, but alas I am in over my head and now humbly ask for help.

Oh and is there a way to lengthen the reboot timeout? It generally likes to reboot right as I am in the middle of thinking I got it solved!! Of course I don't!

Any help is most appreciated. I know I have a TON more reading to do, I just wanted to get it up and running so I could show my system works and then get into the serious tweaking of it!

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 08:23:39 PM
 #4792

Just want to ask is CUDA 9 built into the latest version? And if not what would the impact be?

Should only make a difference for ccminer clients if compiled using 9 vs an older version.  Also might make almost no difference at all; I will update cuda to the newest version most likely for v0020.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 08:24:04 PM
 #4793



If anyone has any coins in bittrex try to transfer them ASAP

My Enhanced verified account  and many more accounts has been disabled for more than 5 days with no reply from them.

Bittrex on bicointalk
Cointelegraph.com article on bittrex disbale accounts
bitcointalk scam accusations

Has this been resolved?

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 08:24:55 PM
 #4794

Also, what do you think about the BIOSTAR TB250-BTC PRO MOBO? Have you compared it to the ASRock H110 BTC pro?

I prefer the ASRock H110 BTC pro.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 08:29:56 PM
 #4795

Hello everyone!

2fullzero: Does NVOC support 19GPU on ASUS B250 Mining Expert?

And whats the limit of GPU on NVOC for now?

Thank you!

see: https://bitcointalk.org/index.php?topic=1854250.msg23379866#msg23379866

v0019-1 or newer supports OC for up to 19x GPUs; but the mobo only supports up to 13x normal GPUs.

ComputerGenie
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 552


Retired IRCX God


View Profile
October 22, 2017, 08:38:40 PM
 #4796

...
My Enhanced verified account  and many more accounts has been disabled for more than 5 days with no reply from them.
...

Has this been resolved?
It has, but hasn't. 'trex has been slowly enforcing KYC policies in order to prepare for fiat trading. The problem is that it effects people that either refuse to verify or have OCR issues with their IDs and the automated system; most of those with OCR issues need to file a support ticket and wait for staff to manually verify information, which is a slower process than the patience level of people who ignore notices and focus on speculation and random blog posts. There have, quite literally, been thousands of people effected by this issue and although many of them recognize that fact, few are willing to patiently wait their turn in line behind the thousands that they know of (the "I want it now" syndrome).

Quote from: bittrex-ryan
Most failures right.l now are due to id having a different name then basic verification [and/or OCR issues "seeing" it as such].
Currently requires a manual verification that the names match, we are looking to improve automation around it asap
Quote from: bittrex-koichi
If your request is still opened and you received a response that it is under review, we don’t have further updates at this time.  You will receive a response when there is resolution.

If you have to ask "why?", you wouldn`t understand my answer.
Always be on the look out, because you never know when you'll be stalked by hit-men that eat nothing but cream cheese....
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1009



View Profile
October 22, 2017, 08:45:29 PM
 #4797

Hey guys!

I am running 12 Asus p106-100 GPU's on the Asrock BTC+ pro motherboard.

Its been working great for a few months but now randomly ONE of the GPU's stops working every 24 to 48 hours and it requires I completely shut the system down to get it working again. Normal restarts do not help. The miner keeps mining with the remaining 11 gpu's though.

How would you go about deciphering which card is shutting down on the rig?

I watched the temps and none of the cards are breaking 70 degrees. They are overclocked at -200 core +1350 memory.

Thanks in advance for your feedback on troubleshooting.


Ensure:

Code:
CLEAR_LOGS_ON_BOOT="NO" 

in 1bash then after this happens open the System log application on the left and examine the logs.

It is also always a good idea to try imaging a new usb key; as many problems are the result of a corrupted file.

MentalNomad
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
October 22, 2017, 08:46:39 PM
 #4798



If anyone has any coins in bittrex try to transfer them ASAP

My Enhanced verified account  and many more accounts has been disabled for more than 5 days with no reply from them.

Bittrex on bicointalk
Cointelegraph.com article on bittrex disbale accounts
bitcointalk scam accusations

Has this been resolved?

Bittrex's statement:

Quote
The total number of suspended, closed, or banned accounts is very limited: less than 0.1% of the total accounts on Bittrex.  More than 99.9% of Bittrex accounts are unaffected.

https://support.bittrex.com/hc/en-us/articles/115002187632-Statement-on-disabled-accounts
Ibizian
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
October 22, 2017, 08:46:56 PM
 #4799

...
My Enhanced verified account  and many more accounts has been disabled for more than 5 days with no reply from them.
...

Has this been resolved?
It has, but hasn't. 'trex has been slowly enforcing KYC policies in order to prepare for fiat trading. The problem is that it effects people that either refuse to verify or have OCR issues with their IDs and the automated system; most of those with OCR issues need to file a support ticket and wait for staff to manually verify information, which is a slower process than the patience level of people who ignore notices and focus on speculation and random blog posts. There have, quite literally, been thousands of people effected by this issue and although many of them recognize that fact, few are willing to patiently wait their turn in line behind the thousands that they know of (the "I want it now" syndrome).

Quote from: bittrex-ryan
Most failures right.l now are due to id having a different name then basic verification [and/or OCR issues "seeing" it as such].
Currently requires a manual verification that the names match, we are looking to improve automation around it asap
Quote from: bittrex-koichi
If your request is still opened and you received a response that it is under review, we don’t have further updates at this time.  You will receive a response when there is resolution.
It took 9 or so days for my enhanced registration to finally get cleared up. All I got was a quick email saying it was completed. I know this is different than those of you that have money sitting in there but I assume they are getting thru the tickets just as slow as they can!
kk003
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
October 22, 2017, 09:02:33 PM
 #4800

This one is for coders:
Code:
function genoil_statics ()

{
#### Arrange the output for Genoil statics

if [[ "$ETHMINER_or_GENOIL_or_CLAYMORE" == "GENOIL" ]]; then

    # Check if Genoil is running. Note that I have to search the full path as there is a few miners with the same exec's name
    ps aux | grep -v grep | grep miner | grep -q "$KEY_GENOIL"
    if  [[ $? -eq 0 ]]; then
        GENOIL_IS_RUNNING="YES"
        TIMEOUT_FOR_TIMEOUT_IN_SECONDS=20       # The timeout for the command timeout to wait
        GENOIL_NUMBER_OF_HASHRATES_TO_SHOW=3    # Default 3, and I want to keep this value independent for each miner
        echo
        echo "It seems that GENOIL is running!!"

        # Extract the output from screen
        echo "Running timeout+script+screen for $TIMEOUT_FOR_TIMEOUT_IN_SECONDS seconds"
        timeout $TIMEOUT_FOR_TIMEOUT_IN_SECONDS script -q ~/kk003_telegram_data/files/output_miner_from_screen --command "screen -dr miner"
        sleep 2
#      screen -d miner # does not seem to need to be Detached

        # I don't see any valuable information than the total hashrate (I'll show a few at last)
        # Surprise!!!, sed 's/ /\n/g' no convierte espacios en saltos de linea, pero la misma linea en la consola si lo hace!!!
        TOTAL_HASHRATE=$(cat ~/kk003_telegram_data/files/output_miner_from_screen | grep "Mining on PoWhash" | cut -d":" -f4 |  cut -d" " -f2 | sed 's/ /\n/g' | tail -$GENOIL_NUMBER_OF_HASHRATES_TO_SHOW

        # Mount the little thing Genoil gives us
        #
        echo "Latest total hashrates : " > ~/kk003_telegram_data/files/miner_statics.txt
        echo $TOTAL_HASHRATE >> ~/kk003_telegram_data/files/miner_statics.txt

        echo "Latest total hashrates   : " > ~/kk003_telegram_data/files/miner_statics_log_file.txt
        echo $TOTAL_HASHRATE >> ~/kk003_telegram_data/files/miner_statics_log_file.txt


        # Insert the Title for Genoil mining information
        sed -i "1s/^/** Genoil mining  Information **\n/" ~/kk003_telegram_data/files/miner_statics.txt
        sed -i "1s/^/\n/" ~/kk003_telegram_data/files/miner_statics.txt

        sed -i "1s/^/** Genoil mining  Information **\n/" ~/kk003_telegram_data/files/miner_statics_log_file.txt
        sed -i "1s/^/\n/" ~/kk003_telegram_data/files/miner_statics_log_file.txt

    else
        echo "Genoil does not seem to be running!!. Skiping this bit."
        GENOIL_IS_RUNNING="NO"
    fi
fi
}

I found out a way to capture the output from screen in real time. See the lines:

Code:
# Extract the output from screen
        echo "Running timeout+script+screen for $TIMEOUT_FOR_TIMEOUT_IN_SECONDS seconds"
        timeout $TIMEOUT_FOR_TIMEOUT_IN_SECONDS script -q ~/kk003_telegram_data/files/output_miner_from_screen --command "screen -dr miner"
        sleep 2
#      screen -d miner # does not seem to need to be Detached

This run screen for 20 seconds (timeout command) and saves output to file ~/kk003_telegram_data/files/output_miner_from_screen (script command). -dr forces to attach miner (so if user have screen open in a terminal will close it and the script will do its job). After 20 seconds miner is detached without need to send CTRL+d.
This works better if ran from a non interactive terminal, ejem: from nvoc system  Tongue.

This means it is possible to capture the output of any miner even if all of it shows only on terminal (no log file, web server, argument -L on screen, etc).
I hope it will be useful for you too.

PD: if you use "tail -f file" to watch the output in real time don't trust what you see. The real output is in the file (do a cat file or whatever). Keep in main, if you log the output of your script probably you'll get those 20 seconds from screen in the log file too.
Pages: « 1 ... 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 [240] 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 ... 417 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!