Linux Serial Monitor

Name

statserial - display serial port modem status lines

Description slsnif is a serial line sniffer software. It listens to the specified serial port and writes all data coming through it into either stdout (default) or a log file (if specified - see option -l). Slsnif operates. Access serial monitor on linux cli? Using arduino-cli? Ask Question Asked 26 days ago. Active 26 days ago. Viewed 345 times 0. I have an arduino uno connected via USB. M ost embedded Linux / BSD systems such as routers, servers and nas devices comes with console interface (serial port with RS-232). BIOS can uses this, and after boot BIOS screen I/O is redirected so that you can use the device. Serial monitor comes with any and all version of the Arduino IDE. To open it, simply click the Serial Monitor icon. The icon is located to the right of the other icons in Arduino 0023 and below.

Linux Serial Monitor Terminal

Linux serial monitor

Synopsis

statserial [-n | -d | -x] <device-name>

Description

Statserial displays a table of the signals on a standard 9-pin or 25-pin serial port, and indicates the status of the handshaking lines. It can beuseful for debugging problems with serial ports or modems.

The optional device-name parameter is the full name of the device file for the serial port in question. If not specified, the default is taken fromthe environment variable MODEM if set, otherwise /dev/cua1.

Command-line Options

Each of the command line options is mutually exclusive.

-n
Normally statserial will loop continuously, updating the status at one second intervals; you can exit using Control-C. The -n option disableslooping.
-d

With this option the status of the modem is printed as a decimal number. The bits are encoded as follows (XXX indicates unused bits):

+---+---+---+---+---+---+---+---+---+
| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+---+---+---+---+---+---+---+---+---+
|DSR|RI |DCD|CTS|XXX|XXX|RTS|DTR|XXX|
+---+---+---+---+---+---+---+---+---+

-x
This option is the same as -d, except that the output is in hexadecimal.

Bugs/Limitations

Statserial only works with devices that support the TIOCMGET ioctl.

You need permission to read the device file.

The device file may be locked if other applications are using it.

Serial Monitor For Linux

Author

Linux Serial Monitor Gui

Statserial was written by Jeff Tranter (Jeff_Tranter@Mitel.COM), later updated by Frank Baumgart(godot@uni-paderborn.de) and is released under the conditions of the GNU General Public License. See the file COPYING and notes in the source code for details.

Linux Serial Monitor Timestamp

See Also

Linux Serial Port Dump

setserial(8) stty(1)
/usr/src/linux/drivers/char/serial.c /usr/include/linux/termios.h