Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Log Parse: Get Blockchain Date

    Guides
    1
    1
    1464
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AcidD
      AcidD Moderators last edited by AcidD

      My round about way for monitoring the Blockchain sync on my new FTC node

      Running CentOS 7

      You might wanna change “DIR” to match what you have

      watch -t -n 2 --color 'tail -n 60 /DIR/.feathercoin/debug.log | grep -Eo "date=[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}[[:space:]][[:digit:]]{2}:[[:digit:]]{2}"'

      will give you some thing like this:
      Image

      it will update every 2 seconds with the last BlockChain Date.

      Edit: fixed the command

      • FTC Block Explorer + API @ https://fsight.chain.tips
      • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
      • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
      • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

      1 Reply Last reply Reply Quote 3
      • First post
        Last post