Skip to content

Instantly share code, notes, and snippets.

@daluu
Created October 24, 2019 16:21
Show Gist options
  • Save daluu/8881d888d9150910f10ce30e77ac2a8d to your computer and use it in GitHub Desktop.
Save daluu/8881d888d9150910f10ce30e77ac2a8d to your computer and use it in GitHub Desktop.
zk status check
#!/bin/sh
# use either option below
echo ruok | nc zksvr 2181
echo srvr | nc zksvr 2181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment