info serial

Purpose

Displays statistics relating to serial-port communications activity.

Statistics that display are gathered since the statistic tables were last cleared by rebooting the Digi device, and include data, event, and error counts. These statistics are useful in understanding how the device is operating and can be helpful in finding problems. In particular, if an error counter is found to be increasing there may be a problem with the device.

To reset the statistics, reboot the device.

Required permissions

For Digi products with two or more users, set permissions to set permissions display=execute to use this command. See set permissions for details on setting user permissions for commands.

Syntax

info serial

Example

#> info serial

Serial port #1 statistics:

rbytes               : 423             tbytes               : 311
overrun errors       : 0               overflow errors      : 0
frame errors         : 0               parity errors        : 0
breaks               : 0

signal changes :      CTS     DSR      RI     DCD     RTS     DTR
                        3       0       0       0       1       1

Output

Statistic

Description

rbytes

Total data in: the number of bytes received.

overrun errors

The number of times FIFO has overrun. The next data character arrived before the hardware could move the previous character.

frame errors

The number of framing errors detected. The received data did not have a valid stop bit.

breaks

The number of break signals detected.

tbytes

Total data out: the number of bytes transmitted.

overflow errors

The number of times the Received buffer has overrun. The receive buffer was full when additional data was received.

parity errors

The number of parity errors detected. The received data did not have the correct parity setting

signal changes

For each signal (CTS, DSR, RI, DCD, RTS, DTR), the number of times the signal has changed states.

See also

  • info commands display statistical information about a device over time.
  • display commands focus the display on real-time information.
  • status command displays the status of outgoing connections (connections made by connect, rlogin, or telnet commands).