ttylog(8)

ttylog8

Serial device logger

Usage

ttylog [{-b | --baud}] [{-d | --device}] [{-f | --flush}] [{-t | --timeout}] > /path/to/logfile

Overview

This program writes everything that comes from a serial device like /dev/ttyS1 onto stdout. You can specify the device and the baud rate of the device.

Options

ttylog follows the GNU command line syntax, with long options starting with two dashes('-'). A summary of the options is included below:

-h, --help

Displays a little help

-v, --version

Version number of ttylog plus Copyright information

-b, --baud

Baud rate of the device. Available baud rates: 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200

-d --device

The serial device. For example /dev/ttyS1

-f --flush

Output buffers are flushed after every write.

-t --timeout

How long to run ttylog, in seconds.

Releases

13 releases since Debian 2.2 (Potato); the text changed 4 times.

  1. 2.2–4.0
  2. 5.0–6.0
  3. 7
  4. 8
  5. 9–13

--flush since Debian 8 (Jessie); --timeout since Debian 9 (Stretch); -f since Debian 8 (Jessie); -t since Debian 9 (Stretch).

Author

This manual page was originally written by Tibor Koleszar <[email protected]>, for the Debian GNU/Linux system. Modifications and updates written by Robert James Clay <[email protected]>.

From ttylog 0.31-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.