File: readyexec.rst

package info (click to toggle)
pyzor 1%3A1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 868 kB
  • sloc: python: 7,266; makefile: 153; sh: 28
file content (29 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ReadyExec
==========

`ReadyExec <http://readyexec.sourceforge.net/>`_ is a system to eliminate the  
high startup-cost of executing scripts repeatedly. If you execute Pyzor a lot, 
you might be interested in installing ReadyExec and using it with Pyzor.

To use Pyzor with ReadyExec, the readyexecd.py server needs to be started as::

    readyexecd.py socket_file pyzor.client.run
    
``socket_file`` can be any (non-existing) filename you wish ReadyExec to use, 
such as /tmp/pyzor::

    readyexecd.py /tmp/pyzor pyzor.client.run
    
Individual clients are then executed as::

    readyexec socket_file options command cmd_options
    
For example::

    readyexec /tmp/pyzor check
    readyexec /tmp/pyzor report
    readyexec /tmp/pyzor whitelist --style=mbox
    readyexec /tmp/pyzor -d ping