Bitcoin Forum
May 11, 2024, 03:05:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Shell Script getmininginfo output data extract  (Read 826 times)
unick (OP)
Sr. Member
****
Offline Offline

Activity: 504
Merit: 254


View Profile
August 14, 2013, 02:43:14 PM
 #1

Hi,

I am trying to figure out a way to extract the values in the output of getmininginfo in a shell script.

let's say I want to get block and difficulty values.  If it were in PHP I would use something like array[key].  But I am not sure how to do this with the output of getmininginfo.  Any one has a clue or could point me in the right direction?

Thanks

Awesome Explorers for Awesome Coins | Show some BTC love here: 1AAYAZgaz2me7hyumexUZzcyGRZEYtCx5C
HoboNickels: hbn.blockx.info | BottleCaps: cap.blockx.info | GrowthCoin: grw.blockx.info
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715439906
Hero Member
*
Offline Offline

Posts: 1715439906

View Profile Personal Message (Offline)

Ignore
1715439906
Reply with quote  #2

1715439906
Report to moderator
1715439906
Hero Member
*
Offline Offline

Posts: 1715439906

View Profile Personal Message (Offline)

Ignore
1715439906
Reply with quote  #2

1715439906
Report to moderator
1715439906
Hero Member
*
Offline Offline

Posts: 1715439906

View Profile Personal Message (Offline)

Ignore
1715439906
Reply with quote  #2

1715439906
Report to moderator
unick (OP)
Sr. Member
****
Offline Offline

Activity: 504
Merit: 254


View Profile
August 14, 2013, 03:28:23 PM
 #2

No answers here... does it mean this needs to be move to the "technical" forum ?

Awesome Explorers for Awesome Coins | Show some BTC love here: 1AAYAZgaz2me7hyumexUZzcyGRZEYtCx5C
HoboNickels: hbn.blockx.info | BottleCaps: cap.blockx.info | GrowthCoin: grw.blockx.info
unick (OP)
Sr. Member
****
Offline Offline

Activity: 504
Merit: 254


View Profile
August 15, 2013, 04:40:24 AM
 #3

got my answer here... if anyone ever needs to look it up Smiley

https://bitcointalk.org/index.php?topic=273758.new#new

Awesome Explorers for Awesome Coins | Show some BTC love here: 1AAYAZgaz2me7hyumexUZzcyGRZEYtCx5C
HoboNickels: hbn.blockx.info | BottleCaps: cap.blockx.info | GrowthCoin: grw.blockx.info
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!