define(MC_TITLE,webstone)
define(MC_DATE,98/05/14)
include(mc_html_head.h)
NAME
webstone - run the WebStone benchmark from the command line
SYNOPSIS
webstone
[ -gui | -help | -setup | -kill | -nogui | -genfiles | -silent
| -tail | -results ]
DESCRIPTION
webstone
is a script that provides a command line interface for invoking any of
the programs that make up the WebStone benchmark.
The default action is to recursively invoke
to start a single benchmark run.
The first invocation should be
webstone -setup.
This prepares the Perl scripts so the GUI will work. After this is done
the GUI is available to perform most other WebStone tasks.
Suggested order for command-line use:
- webstone -setup
- webstone -genfiles
- webstone -nogui
- webstone -results
Before doing "webstone -setup", read the man page for
runbench(1)
to learn how to configure the
conf/testbed
file.
OPTIONS
- -gui
-
Invoke the graphical user interface.
- -help
-
Display the
README.FIRST
file.
- -setup
-
Prepare WebStone from source. Call the
bin/gui-configure
shell script to modify the Perl scripts that make up the GUI so they can
find the Perl executable. Then call
configure
and
make
to compile and install the WebStone binaries.
- -kill
-
Call
bin/killbench
to terminate WebStone processes on both the webmaster system and the
client systems.
- -nogui
-
Invoke
bin/runbench
directly, without trying to start the GUI.
- -genfiles
-
Create the data files to be used for the testing and copy them to
the Web server.
- -silent
-
Same as
-nogui,
except that screen output is discarded.
- -tail
-
Display the output currently being written to the
run
file by the active
webmaster
process.
- -results
-
Display summaries of all results in
bin/runs,
using
bin/wscollect.wpl.
FILES
- conf/testbed
-
The configuration file used by
bin/runbench
to control how the next test run is to be invoked.
- conf/filelist
-
The list of URLs and weights to be used for the benchmark run.
- conf/fileset
-
The list of file names to be created on the server by "-genfiles".
- bin/*.wpl
-
The Perl scripts that make up the WebStone GUI. The special suffix
("WebStone Perl") is to make sure the script is run by the GUI's
own micro-server rather than by the browser.
- bin/runs/*
-
Output directories, one per invocation of
webmaster.
If the
testbed
is set up to do a series of runs, a directory is created for each run.
- bin/runs/*/config
-
The configuration file that spells out the work to be done by each
client system. Created by
runbench,
used by
webmaster.
ENVIRONMENT
The variables understood by
runbench
are usually set in the
conf/testbed
file. Values exported from the user's execution environment override
the values in
conf/testbed.
AUTHORLIMITATIONS
webstone -gui doesn't work on Windows NT. The fix
depends on support for sockets from Perl, which has been problematic.
runbench
and
webmaster
should record the actual values of the parameters it uses, not
just the contents of
conf/testbed
and
bin/runs/*/config.
On NT, -genfiles
doesn't try to transfer the files to the server.
The
-genfiles
option should keep local copies of the data files if
$RCP
is not set, and instruct the user to copy them to the server by hand.
The
-setup
option should do the right thing with a binary distribution.
There should be a mechanism for grouping sets of output directories
and for naming the groups.
SEE ALSO