Skip to content

Instantly share code, notes, and snippets.

@bowrocker
Created March 11, 2020 15:56
Show Gist options
  • Save bowrocker/8604e0a28f7b92d67e23671e17d75f1c to your computer and use it in GitHub Desktop.
Save bowrocker/8604e0a28f7b92d67e23671e17d75f1c to your computer and use it in GitHub Desktop.
[root@headnode (jonran-dc) /var/tmp]# manta-oneach -s nameservice "echo stat | nc localhost 2181"
=== Output from 09e0c9f9-e833-4796-9e69-0e977172c226 on headnode (nameservice):
Zookeeper version: 3.4.12--1, built on 01/29/2020 08:44 GMT
Clients:
/10.77.77.254:43242[1](queued=1,recved=12,sent=12)
/10.77.77.252:49882[1](queued=1,recved=12,sent=12)
/10.77.77.223:48441[1](queued=1,recved=8,sent=11)
/10.77.77.225:42004[1](queued=1,recved=38,sent=38)
/10.77.77.253:51016[1](queued=1,recved=12,sent=12)
/127.0.0.1:37002[1](queued=1,recved=126,sent=135)
/10.77.77.224:58075[1](queued=1,recved=56,sent=65)
/0:0:0:0:0:0:0:1:58999[0](queued=0,recved=1,sent=0)
Latency min/avg/max: 0/1/16
Received: 345
Sent: 373
Connections: 8
Outstanding: 0
Zxid: 0x800000025
Mode: follower
Node count: 98
=== Output from aff7eb5d-5c3f-4423-843d-69777276ffbf on headnode (nameservice):
Zookeeper version: 3.4.12--1, built on 01/29/2020 08:44 GMT
Clients:
/10.77.77.247:59309[1](queued=0,recved=2,sent=2)
/10.77.77.254:57648[1](queued=0,recved=1,sent=1)
/127.0.0.1:38718[1](queued=1,recved=113,sent=113)
/10.77.77.248:39612[1](queued=1,recved=36,sent=36)
/10.77.77.227:63851[1](queued=1,recved=38,sent=38)
/0:0:0:0:0:0:0:1:33662[0](queued=0,recved=1,sent=0)
Latency min/avg/max: 0/1/62
Received: 292
Sent: 306
Connections: 6
Outstanding: 0
Zxid: 0x800000025
Mode: leader
Node count: 98
=== Output from b1677a26-9ba0-4ea6-a76c-baf717bd75fb on headnode (nameservice):
Zookeeper version: 3.4.12--1, built on 01/29/2020 08:44 GMT
Clients:
/127.0.0.1:63906[1](queued=1,recved=113,sent=113)
/10.77.77.243:45521[1](queued=0,recved=2,sent=2)
/10.77.77.253:56757[1](queued=0,recved=1,sent=1)
/10.77.77.245:52194[1](queued=0,recved=2,sent=2)
/0:0:0:0:0:0:0:1:63698[0](queued=0,recved=1,sent=0)
Latency min/avg/max: 0/0/11
Received: 119
Sent: 118
Connections: 5
Outstanding: 0
Zxid: 0x800000025
Mode: follower
Node count: 98
[root@headnode (jonran-dc) /var/tmp]# manta-oneach -s nameservice "echo stat | nc localhost 2181"
=== Output from 09e0c9f9-e833-4796-9e69-0e977172c226 on headnode (nameservice):
Zookeeper version: 3.4.12--1, built on 01/29/2020 08:44 GMT
Clients:
/10.77.77.254:43242[1](queued=1,recved=114,sent=114)
/10.77.77.252:49882[1](queued=1,recved=114,sent=114)
/10.77.77.223:48441[1](queued=1,recved=52,sent=68)
/0:0:0:0:0:0:0:1:44851[0](queued=0,recved=1,sent=0)
/10.77.77.253:51016[1](queued=1,recved=114,sent=114)
/127.0.0.1:37002[1](queued=1,recved=273,sent=338)
/10.77.77.222:48202[1](queued=1,recved=81,sent=94)
/10.77.77.225:58186[1](queued=1,recved=80,sent=93)
Latency min/avg/max: 0/0/17
Received: 1006
Sent: 1129
Connections: 8
Outstanding: 0
Zxid: 0x80000007e
Mode: follower
Node count: 51
=== Output from aff7eb5d-5c3f-4423-843d-69777276ffbf on headnode (nameservice):
Zookeeper version: 3.4.12--1, built on 01/29/2020 08:44 GMT
Clients:
/10.77.77.246:36721[1](queued=1,recved=31,sent=31)
/0:0:0:0:0:0:0:1:63295[0](queued=0,recved=1,sent=0)
/10.77.77.247:59309[1](queued=1,recved=41,sent=51)
/10.77.77.254:57648[1](queued=0,recved=12,sent=12)
/127.0.0.1:38718[1](queued=1,recved=252,sent=301)
/10.77.77.244:51490[1](queued=1,recved=31,sent=31)
/10.77.77.224:63042[1](queued=1,recved=79,sent=90)
/10.77.77.227:63851[1](queued=1,recved=80,sent=91)
Latency min/avg/max: 0/25/182
Received: 665
Sent: 760
Connections: 8
Outstanding: 0
Zxid: 0x80000007e
Mode: leader
Node count: 51
=== Output from b1677a26-9ba0-4ea6-a76c-baf717bd75fb on headnode (nameservice):
Zookeeper version: 3.4.12--1, built on 01/29/2020 08:44 GMT
Clients:
/10.77.77.226:50504[1](queued=1,recved=32,sent=32)
/10.77.77.253:56757[1](queued=0,recved=12,sent=12)
/10.77.77.245:52194[1](queued=1,recved=42,sent=53)
/127.0.0.1:63906[1](queued=1,recved=259,sent=314)
/10.77.77.253:37717[1](queued=0,recved=12,sent=12)
/10.77.77.243:45521[1](queued=1,recved=44,sent=57)
/10.77.77.253:56268[1](queued=0,recved=12,sent=12)
/0:0:0:0:0:0:0:1:41151[0](queued=0,recved=1,sent=0)
/10.77.77.248:46449[1](queued=1,recved=42,sent=53)
Latency min/avg/max: 0/4/60
Received: 457
Sent: 546
Connections: 9
Outstanding: 0
Zxid: 0x80000007e
Mode: follower
Node count: 51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment