You are here: Home / Documentation / How To's / Cool tricks with ZEO clients

Cool tricks with ZEO clients

by nguyen — published Mar 29, 2010 04:58 PM, last modified Aug 16, 2016 10:49 AM
bin/instance or bin/client1 or bin/zopectl

You can invoke the instance binary without any further arguments to get a command prompt.  For example:

[root@plone1 zeocluster]# pushd /opt/Plone-3.0.5/zeocluster/
/opt/Plone-3.0.5/zeocluster /opt/Plone-3.2.1r3/zeocluster /root/bin /opt/Plone-3.2.1r3/zeocluster/parts/client1/Extensions/AdmissionsPDFs /UWO/Plone-3.2.1r3
[root@plone1 zeocluster]# client3/bin/zopectl 
program: /opt/Plone-3.0.5/zeocluster/client3/bin/runzope
program running; pid=26616
zopectl> status
program running; pid=26616
zopectl> stop
. daemon process stopped
zopectl> start
. daemon process started, pid=22878
zopectl> logtail

[...shows tail -f of the log file]
[cancel by Ctrl-C]

zopectl> help

Documented commands (type help <topic>):
EOF      fg          kill       quit     run    start   test
adduser  foreground  logreopen  reload   shell  status  wait
debug    help        logtail    restart  show   stop

zopectl> quit
[root@plone1 zeocluster]#