Skip to content

Commit

Permalink
adjust README to reflect new options.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Brightman committed Oct 30, 2012
1 parent 396528c commit 3b14bf9
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions README.textile
Expand Up @@ -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>
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3b14bf9

Please sign in to comment.