- Home »
- Service and Customer Support »
- Sentry I »
- Cms »
- Documentation
Documentation
Table of Contents
- test_cms - test cms dispatch systems
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
test_cms - test cms dispatch systems
- test_cms
SYNOPSIS
test_cms --dispatch|--bcc [--plant_number=number(default:1)] [--file[=basename]|--serial[=commport_number]] [--stdio] [--debug_level=number [--logfile=filename]]
DESCRIPTION
This manual page documents the Erie Strayer Co. utility test_cms . test_cms is for testing cms dispatch systems and the libcms.a library.
OPTIONS
"--dispatch" This option puts test_cms into a send or dispatch mode (either --dispatch or --bcc are required)
"--bcc" This option puts test_cms into a receive or bcc mode (either --dispatch or --bcc are required)
"--plant_number=#" Allows you to assign a plant number to the test system. test_cms will default to plant number 1 if you don't use this option.
"--file[=basename]" This option allows you to test from files instead of the serial port. By default it uses a basename of test, but that can be changed by passing in a new basename. It appends .in & .out to the basename
"--serial[=commport_number]" This option allows you to test from the serial port, it is on by default. However, if you want to use a serial port other than the first one use must use the --serial option to set the comm port number.
"--stdio" When in dispatch mode this option will dispatch all data from stdin instead of the built in message testing. It currently does not affect bcc mode since it already displays to stdout.
"--debug_level=number" This controls the debugging level to display diagnostic output, the higher the number the more information displayed.
"--logfile=filename" If the debug_level is higher than 0, this option will send the diagnostic output to filename instead of the stdout.
EXAMPLES
Most basic dispatch test.
dispatch$ test_cms --dispatch
Most basic bcc test.
bcc$ test_cms --bcc
A simple, single computer file test.
bcc$ test_cms --dispatch --file bcc$ cp test.out test.in bcc$ test_cms --bcc --file
A receive test for plant # 12 from the second serial port with debugging.
bcc$ test_cms --dispatch --serial=2 --plant_number=12 --debug_level=10
This document was generated on 18 May 2000 using texi2html 1.56k.



