Created
September 4, 2019 13:25
-
-
Save ripienaar/2ee7a242a42a22b4ace25391699a2b60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./go-choria req rpcutil ping -I /^dev\\d/ | |
Discovering nodes .... 6 | |
6 / 6 0s [====================================================================] 100% | |
dev7.devco.net | |
{ | |
"pong": 1567603471 | |
} | |
dev4.devco.net | |
{ | |
"pong": 1567603471 | |
} | |
dev3.devco.net | |
{ | |
"pong": 1567603471 | |
} | |
dev1.devco.net | |
{ | |
"pong": 1567603471 | |
} | |
dev5.devco.net | |
{ | |
"pong": 1567603471 | |
} | |
dev2.devco.net | |
{ | |
"pong": 1567603471 | |
} | |
Finished processing 6 / 6 hosts in 584.52864ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./go-choria req rpcutil ping -I /^dev\\d/ -v | |
Discovering nodes .... 6 | |
6 / 6 0s [====================================================================] 100% | |
dev7.devco.net | |
{ | |
"pong": 1567603497 | |
} | |
dev4.devco.net | |
{ | |
"pong": 1567603497 | |
} | |
dev2.devco.net | |
{ | |
"pong": 1567603497 | |
} | |
dev5.devco.net | |
{ | |
"pong": 1567603497 | |
} | |
dev3.devco.net | |
{ | |
"pong": 1567603497 | |
} | |
dev1.devco.net | |
{ | |
"pong": 1567603497 | |
} | |
---- request stats ---- | |
Nodes: 6 / 6 | |
Pass / Fail: 6 / 0 | |
Start Time: 2019-09-04T15:24:57+0200 | |
Discovery Time: 2.000620032s | |
Publish Time: 0s | |
Agent Time: 594.867136ms | |
Total Time: 2.595487232s | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./go-choria req rpcutil ping -I /^dev\\d/ -j | |
{ | |
"agent": "rpcutil", | |
"action": "ping", | |
"replies": [ | |
{ | |
"sender": "dev4.devco.net", | |
"statuscode": 0, | |
"statusmsg": "OK", | |
"data": { | |
"pong": 1567603514 | |
} | |
}, | |
{ | |
"sender": "dev2.devco.net", | |
"statuscode": 0, | |
"statusmsg": "OK", | |
"data": { | |
"pong": 1567603514 | |
} | |
}, | |
{ | |
"sender": "dev1.devco.net", | |
"statuscode": 0, | |
"statusmsg": "OK", | |
"data": { | |
"pong": 1567603514 | |
} | |
}, | |
{ | |
"sender": "dev5.devco.net", | |
"statuscode": 0, | |
"statusmsg": "OK", | |
"data": { | |
"pong": 1567603514 | |
} | |
}, | |
{ | |
"sender": "dev3.devco.net", | |
"statuscode": 0, | |
"statusmsg": "OK", | |
"data": { | |
"pong": 1567603514 | |
} | |
}, | |
{ | |
"sender": "dev7.devco.net", | |
"statuscode": 0, | |
"statusmsg": "OK", | |
"data": { | |
"pong": 1567603514 | |
} | |
} | |
], | |
"stats": { | |
"request_id": "2a1c32ed44c14f949bc320b03eea4de3", | |
"no_responses": [], | |
"unexpected_responses": [], | |
"discovered": 6, | |
"failed": 0, | |
"ok": 6, | |
"responses": 6, | |
"publish_time": 0, | |
"request_time": 576865150, | |
"discover_time": 2000473500, | |
"start_time": "2019-09-04T15:25:14.705745674+02:00" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment