Bitcoin Forum
June 21, 2024, 07:50:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cgminer logging  (Read 2752 times)
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 09, 2014, 09:19:55 AM
 #1

Can please someone tells me how to log in to txt file a hashrate of miner?

blacksails
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
April 09, 2014, 12:22:58 PM
 #2

What OS are you on?
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 09, 2014, 01:59:35 PM
 #3

What OS are you on?
on windows 7 64
I know on linux how it goes, but not on windows.

blacksails
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
April 09, 2014, 06:21:30 PM
 #4

What OS are you on?
on windows 7 64
I know on linux how it goes, but not on windows.
Okay, sorry, I don't know Windows.
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 09, 2014, 06:43:06 PM
 #5

thanks I hope someone can help me with this...

-ck
Legendary
*
Offline Offline

Activity: 4144
Merit: 1637


Ruu \o/


View Profile WWW
April 10, 2014, 01:37:40 AM
 #6

Add this to the end of your cgminer commands: 2>log.txt

Because of the way windows writes to files you may not see anything in the log.txt file until you exit cgminer.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 10, 2014, 05:28:02 AM
 #7

Add this to the end of your cgminer commands: 2>log.txt

Because of the way windows writes to files you may not see anything in the log.txt file until you exit cgminer.

Thanks but I need to see hashrate when cgminer still works.

-ck
Legendary
*
Offline Offline

Activity: 4144
Merit: 1637


Ruu \o/


View Profile WWW
April 10, 2014, 06:20:30 AM
 #8

Add this to the end of your cgminer commands: 2>log.txt

Because of the way windows writes to files you may not see anything in the log.txt file until you exit cgminer.

Thanks but I need to see hashrate when cgminer still works.
Did you try it? It will still show on screen.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 10, 2014, 06:35:21 AM
 #9

yes I tried and let cgminer works for 15 minutes but no hashrate in log file. I use 3.7.2

-ck
Legendary
*
Offline Offline

Activity: 4144
Merit: 1637


Ruu \o/


View Profile WWW
April 10, 2014, 06:36:19 AM
 #10

yes I tried and let cgminer works for 15 minutes but no hashrate in log file. I use 3.7.2

Oh you mean you want the hashrate in the logfile. You didn't specify where. Change it into text mode as well by adding -T

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 10, 2014, 06:41:17 AM
 #11

yes I tried and let cgminer works for 15 minutes but no hashrate in log file. I use 3.7.2

Oh you mean you want the hashrate in the logfile. You said on screen. Change it into text mode as well by adding -T
yes in log file Smiley sorry for missunderstanding
Still no hashrate in log files
this is my settings
cgminer.exe --scrypt -o stratum+tcp://ltc.digge.eu:3333 -u Mario.1 -p word -I 11 --auto-gpu --auto-fan --gpu-fan 50-90 --temp-target 77 --temp-overheat 87 --temp-cutoff 95 --worktime -T 2>c:\log\logfile.txt

and this is log file
 [2014-04-10 08:38:05] Stratum from pool 0 requested work restart
 [2014-04-10 08:39:29] Accepted 079d37c5 Diff 34/32 GPU 0
 [2014-04-10 08:39:34] Accepted d60ae398 Diff 306/32 GPU 0
 [2014-04-10 08:39:46] Accepted 02d8cdfb Diff 90/32 GPU 0

-ck
Legendary
*
Offline Offline

Activity: 4144
Merit: 1637


Ruu \o/


View Profile WWW
April 10, 2014, 06:45:43 AM
 #12

Add --per-device-stats

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 10, 2014, 06:54:28 AM
 #13

Add --per-device-stats
I did it, there is alot of data but no hashrate.
 [2014-04-10 08:52:40] New block: 3a4c11b192a3afcb0567d9f9663d34cdb8ee1e164a775cf18f175c... diff 5.81K
 [2014-04-10 08:52:40] Stratum from pool 0 detected new block
 [2014-04-10 08:52:40] Work update message received
 [2014-04-10 08:52:41] Share above target
 [2014-04-10 08:52:41] Submitting share 60f61a80 to pool 0
 [2014-04-10 08:52:41] Accepted 02e860f6 Diff 88/32 GPU 0
 [2014-04-10 08:52:42] Share above target
 [2014-04-10 08:52:49] Share above target
 [2014-04-10 08:52:50] Share above target
 [2014-04-10 08:52:51] Share above target

taaku
Full Member
***
Offline Offline

Activity: 145
Merit: 100


View Profile
April 10, 2014, 12:47:57 PM
 #14

use cgwatcher and that have different parameter which you want in logs.

BTC: 1DgUj6s1yRwauEb89mGn92ZfNqK8xwcZPP
Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 10, 2014, 12:59:08 PM
 #15

use cgwatcher and that have different parameter which you want in logs.
don't wan't to use extra software for that.

Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 13, 2014, 09:31:56 PM
 #16

so there is no way to log hashrate with cgminer.
Is it possible with some other miners like sgminer or bfgminer?

Blisk (OP)
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
April 16, 2014, 07:04:53 AM
 #17

If anyone else is looking how to log all what cgminer gives out including with hash
just add at the end of the line
-T >>LogFile.txt

Pages: [1]
  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!