Permalink
Browse files

adjust README to reflect new options.

  • Loading branch information...
1 parent 396528c commit 3b14bf9262f250ff08eb670d2d4fee7aa7f4bf51 Sam Brightman committed Oct 30, 2012
Showing with 18 additions and 5 deletions.
  1. +18 −5 README.textile
View
@@ -14,6 +14,12 @@ Running:
./zktop.py --servers "localhost:2181,localhost:2182,localhost:2183"
</pre>
+or, for a ZK-style configuration file:
+
+<pre>
+./zktop.py --config zk.conf
+</pre>
+
shows a screen like:
<pre>
@@ -49,11 +55,18 @@ h3. Usage
Usage: zktop.py [options]
Options:
- -h, --help show this help message and exit
- --servers=SERVERS comma separated list of host:port (default
- localhost:2181)
- -n, --names resolve session name from ip (default False)
- --fix_330 workaround for a bug in ZK 3.3.0
+ -h, --help show this help message and exit
+ --servers=SERVERS comma separated list of host:port (default
+ localhost:2181)
+ -n, --names resolve session name from ip (default False)
+ --fix_330 workaround for a bug in ZK 3.3.0
+ -v VERBOSITY, --verbosity=VERBOSITY
+ log level verbosity
+ -l LOGFILE, --logfile=LOGFILE
+ directory in which to place log file, or empty for
+ none
+ -c CONFIGFILE, --config=CONFIGFILE
+ zookeeper configuration file to lookup servers from
</pre>
--fix_330 works around a bug in ZooKeeper 3.3.0, it is only necessary if running the server against that version of ZooKeeper.

0 comments on commit 3b14bf9

Please sign in to comment.