![]() |
botsense
3.2.0
RoadNarrows Client-Server Proxied Services Framework
|
bsLoadTest [OPTIONS]
bsLoadTest –version
bsLoadTest –help | Tests | ||||||||||||||||
| -p, --proxy=addr[:port | ||||||||||||||||
|
Proxy Server's network address. The format of the address can be either a
network hostname or a dotted IP address number. If port is not
specfied, then the default port 9195 is used.
DEFAULT: localhost | ||||||||||||||||
| -c, --count=count | ||||||||||||||||
|
Number of client's to create and run.
DEFAULT: 1 | ||||||||||||||||
| --devices=list | ||||||||||||||||
List of proxied devices where each client will create a thread and load test.
Format:
DEFAULT: server,null | ||||||||||||||||
| --fixeddiag | ||||||||||||||||
|
Fix message tracing and logging diagnostics to
the values set when bsLoadTest was invoked.
DEFAULT: false | ||||||||||||||||
| --serdev=dev | ||||||||||||||||
|
Proxied serial device. The interface module is fixed at libbserver_serial.
DEFAULT: /dev/ttyS0 | ||||||||||||||||
| --i2cdev=dev | ||||||||||||||||
|
Proxied I2C device. The interface module is fixed at libbserver_i2c.
DEFAULT: /dev/i2c-0 | ||||||||||||||||
| Logging | ||||||||||||||||
| -l level, --log=level | ||||||||||||||||
Set logging threshold level. All logging events
with priority ≤ level will be logged. All
others will be ignored. Error events are
always logged. The level is one of:
| ||||||||||||||||
| --logfile=file | ||||||||||||||||
Set log output file to file.
Special file names are:
| ||||||||||||||||
| Information | ||||||||||||||||
| --help | ||||||||||||||||
| Display command help and exit. | ||||||||||||||||
| --version | ||||||||||||||||
| Output version information and exit. |
# Example # Start 8 clients, each load tesing the server-terminated services, # and the serial, I2C, and null message protocols and libraries. # The diagnotic level and message tracing states are fixed. $ $ bsLoadTest --log=diag1 --fixeddiag --count=8 \ --devices=server,serial,i2c,null --serdev=/dev/ttyUSB0 ... <INTR> $