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



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


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


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.


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


/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.


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


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.



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