[Zope-Checkins] CVS: ZODB3/Tools - zodbload.py:1.1.2.1.2.1
Jeremy Hylton
jeremy at zope.com
Thu Sep 11 13:16:54 EDT 2003
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv7713/Tools
Modified Files:
Tag: Zope-2_6-branch
zodbload.py
Log Message:
Small tweaks to the doc string.
=== ZODB3/Tools/zodbload.py 1.1.2.1 => 1.1.2.1.2.1 ===
--- ZODB3/Tools/zodbload.py:1.1.2.1 Wed Aug 27 16:09:20 2003
+++ ZODB3/Tools/zodbload.py Thu Sep 11 12:16:53 2003
@@ -13,8 +13,11 @@
##############################################################################
"""Test script for testing ZODB under a heavy zope-like load.
-Note that, to be as realistic as possible with ZEO, you should run this
-script multiple times, to simulate multiple clients.
+Note that, to be as realistic as possible with ZEO, you should run
+this script multiple times, to simulate multiple clients. The scripts
+uses "import Zope" to load and configuration the database and
+application. If you want to test with ZEO, for example, you will need
+a custom_zodb.py that uses a ClientStorage.
Here's how this works.
@@ -40,7 +43,7 @@
The number os seconds to sleep before performing the job. The
default is 0.
-Usage: loadmail2 [options]
+Usage: python zodbload.py [options]
Options:
@@ -86,6 +89,15 @@
-mbox filename
Specify the mailbox for getting input data.
+
+Example:
+
+ STUPID_LOG_FILE= /home/jim/python/2.2/bin/python zodbload.py \
+ -search frequency=8 \
+ -edit frequency=2 repeat=50 \
+ -modify frequency=8 repeat=50 \
+ -mbox '../python-list.mbox' \
+ -threads 7
$Id$
"""
More information about the Zope-Checkins
mailing list