botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
bsLoadTest Man Page
Name:
bsLoadTest - BotSense bsProxy load tester client.
Synopsis:
bsLoadTest [OPTIONS]
bsLoadTest –version
bsLoadTest –help
Description:
The BotSense bsLoadTest application creates a multi-client, multi-thread application to load test both the bsProxy server and the libbotsense client library. The bsLoadTest application creates count multiple clients. Each client creates an execution thread per each device listed in It also serves as an example client written in c. devices.
Options:
Mandatory arguments to long options are also mandatory for short options.
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:
list: dev[,dev...]
dev: server i2c null serial

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:
'off' or 0 Disable all logging.
'error' or 1 Enable error logging.
'diag1' or 2 Enable diagnostics 1 logging.
'diag2' or 3 Enable diagnostics 2 logging.
'diag3' or 4 Enable diagnostics 3 logging.
The libSkewlZone library logs at this level
'diag4' or 5 Enable diagnostics 4 logging.
'diag5' or 6 Enable diagnostics 5 logging.
>6 Enable user-defined logging.
DEFAULT: off
--logfile=file
Set log output file to file. Special file names are:
'stderr' log to standard error.
'stdout' log to standard output.
DEFAULT: stderr
Information
--help
Display command help and exit.
--version
Output version information and exit.
Examples:
# 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> $