Bitcoin Forum
November 20, 2017, 07:48:51 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Collect CGMiner data  (Read 671 times)
dna2
Jr. Member
*
Offline Offline

Activity: 33


View Profile
September 26, 2013, 10:05:48 AM
 #1

Hi everybody,

I'm a developer and I would like to collect data coming out from CGMiner to a database (mysql or sqlite). I've been reading I can (maybe) do that running a php script from a cron job. Do you think is a viable solution? Do you know better ways?

Thanks in advance,
Any help is greatly appreciated
1511164131
Hero Member
*
Offline Offline

Posts: 1511164131

View Profile Personal Message (Offline)

Ignore
1511164131
Reply with quote  #2

1511164131
Report to moderator
1511164131
Hero Member
*
Offline Offline

Posts: 1511164131

View Profile Personal Message (Offline)

Ignore
1511164131
Reply with quote  #2

1511164131
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511164131
Hero Member
*
Offline Offline

Posts: 1511164131

View Profile Personal Message (Offline)

Ignore
1511164131
Reply with quote  #2

1511164131
Report to moderator
1511164131
Hero Member
*
Offline Offline

Posts: 1511164131

View Profile Personal Message (Offline)

Ignore
1511164131
Reply with quote  #2

1511164131
Report to moderator
1511164131
Hero Member
*
Offline Offline

Posts: 1511164131

View Profile Personal Message (Offline)

Ignore
1511164131
Reply with quote  #2

1511164131
Report to moderator
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1582

Reverse engineer from time to time


View Profile
September 26, 2013, 11:15:14 AM
 #2

The better way is to recompile cgminer that will log the output you want and send it asynchronously to some database or file.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!