Skip to content

Instantly share code, notes, and snippets.

@imylomylo
Created May 30, 2019 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imylomylo/74f6b05f6fc663e5e1aa4cb4c33c452c to your computer and use it in GitHub Desktop.
Save imylomylo/74f6b05f6fc663e5e1aa4cb4c33c452c to your computer and use it in GitHub Desktop.
CHIPS hashrate in TH command
$ CHIPSHASH=$(chips-cli getmininginfo | jq '.networkhashps' | awk -F "." '{print $1}') && echo $(( CHIPSHASH / 1000000000 )) | sed -re ' :restart ; s/([0-9])([0-9]{3})($|[^0-9])/\1,\2\3/ ; t restart '
8,785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment