title: How to check if ZooKeeper is running or up from command prompt?
body: <p>I exploring a few options to setup kafka and I knew that the Zookeeper has to be up and running to initiate a kafka.</p>
  
  <p>I would like to know how can I find the below.</p>
  
  <p>1) hostname and port for my zookeeper instance---I checked the zoo.cfg and I could only find the ClientPort not the hostname, will hostname be the hostname of my box??</p>
  
  <p>2) To check if ZooKeeper is up and running---I tried to do a <code>ps -ef | grep "zoo"</code> I could not find anything. May be I am using a wrong key word to search??</p>
  
  <p>Any help would be really appreciated?</p>