You are here: Administration > Man Pages > portio(1M)

portio(1M)

NAME

portio(1M) - test the serial connection between a pair of systems.

SYNOPSIS

LKROOT/bin/portio [-r] -p port [-b baud]

DESCRIPTION

The portio command can be used to test the serial connection between a pair of systems prior to creating a TTY communication path between them.

SYNTAX

The portio command includes the following options. It prints to stderr upon failure:

portio [-r] -p port [-b baud]

The required -p option is used to specify a port name. The -r option can be used to specify a read-only port. The baud rate is specified with the -b option. Valid values are: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200 and 38400. If no baud rate is given, the default value of 19200 will be used.

The following is an example of how the portio command can be used to test the serial connection between System A and System B:

On System A, enter the command:

LKROOT/bin/portio -r -p /dev/ttyS0 -b 9600

Where:

/dev/ttyS0 is the serial port being tested

9600 is the baud rate

Then, on System B, enter:

echo HelloWorld | LKROOT/bin/portio -p /dev/ttyS0 -b 9600

The message, "HelloWorld" should appear on the console of SystemA.

EXIT CODES

The portio command exits with zero upon success and non-zero onfailure.

NOTES

The location of these utilities, LKROOT, is defined in the default file /etc/default/LifeKeeper.

This functionality is only available from the command line on each server.  It is not included in the LifeKeeper GUI.

FILES

/etc/default/LifeKeeper

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.