How to start the zookeeper monitoring software
This article mainly explains "how to start the zookeeper monitoring software". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to start the zookeeper monitoring software.
download
Running
You can find the source code on github
Script controls ZooInspector startup
#! / bin/shZOOVERSION=$ (brew list zookeeper--versions | sed-E's ZOOCONTRIBDIR/fatjar/zookeeper-$ZOOVERSION-fatjar.jar. * ([0-9] +\. [0-9] +). * /\ 1) head-N1) ZOOBINDIR= `dirname $(brew ls zookeeper | head-N1) `ZOOCONTRIBDIR= "$ZOOBINDIR/../libexec/contrib" ZOOFATJAR= "$ZOOCONTRIBDIR/fatjar/zookeeper-$ZOOVERSION-fatjar.jar" ZOOINSPECTORDIR= "$ZOOCONTRIBDIR/ZooInspector" ZOOINSPECTOR= "$ZOOINSPECTORDIR/zookeeper-$ZOOVERSION-ZooInspector.jar. "$ZOOBINDIR" /.. / libexec/bin/zkEnv.shCLASSPATH= "$ZOOFATJAR:$ZOOINSPECTOR:$CLASSPATH" cd $ZOOINSPECTORDIR $JAVA "- Dzookeeper.log.dir=$ {ZOO_LOG_DIR}"-Dzookeeper.root.logger=$ {ZOO_LOG4J_PROP} "\-cp" $CLASSPATH "$CLIENT_JVMFLAGS $JVMFLAGS\ org.apache.zookeeper.inspector.ZooInspector" $@ "Thank you for reading. This is the content of" how to start zookeeper Monitoring Software ". After the study of this article, I believe that you have a deeper understanding of how to start the zookeeper monitoring software, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!