Skip to content

damons/amon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

amon

Monitor shell script for Aleo's snarkOS decentralized private compute node. See http://aleo.org

For more information and source for snarkOS see: https://github.com/AleoHQ/snarkOS

Dependencies

Uses bash.

Also requires jq to query json structures to extract their contents. Brew info on jq:

jq: stable 1.6 (bottled), HEAD
Lightweight and flexible command-line JSON processor
https://stedolan.github.io/jq/

On OS X use:

$ brew install jq

On Linux (Ubuntu) use:

$ sudo apt-get install jq

Installation

$ git clone https://github.com/damons/amon

Usage

$ ./amon.sh 50.18.246.201 3030 15

Where the first argument (10.0.1.13) is the IP of the node and second argument, 3030 is the port of the Aleo RPC server, and the third argument, 15 , is the number of seconds between refresh.

Sample output:

AMON - Monitoring snarkOS node: 50.18.246.201
-----------------------------------------------
PEERS:
[
  "64.225.91.43:4131"
]
NODE INFO:
{
  "is_miner": true,
  "is_syncing": false
}
CONNECTION COUNT:	1
BLOCK COUNT:		212884

About

Monitor shell script for snarkOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages