spc

Section: User Commands (1)
Updated: April, 2005
Index


NAME

spc - controls and monitors the serial port server

SYNOPSIS

spc [-d] -h=hostname -p=port

DESCRIPTION

spc is a command line utility for monitoring and controlling the serial port server, spd

OPTIONS

-?
display summary help forspc
-d
display debugging output. This option may appear more than once, each appearance causing debugging output to be more verbose.
-h=hostname
Connect to the serial port server on hostname. The default hostname is localhost.
-p=port
Connect to the serial port server via a specified port. The default is port 16001.

COMMANDS

status
display the current operational status of a copy of spd. The display consists of one line for each serial device described in the configuration file for spd ,e.g.,
ttyS0: Port /dev/ttyS0 Closed 9600,8,N,1 Dly tx=0 rx=2 mS nosep

The line shows the name used to reference the serial device, the device type ( port , loop or file ), the actual devicename, status ( open or closed ), baud rate, databits, parity, stopbits, mS delay between sent and received bytes, the line separator in use.

stop
Shut down the serial port server.

Several commands may be given as a list of command line arguments. If this is done they will be issued in sequence, so stop should be the last command.


Index


This document was created by man2html, using the manual pages.
Time: 17:23:49 GMT, February 12, 2006