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.
--flush since Debian 8 (Jessie);
--timeout since Debian 9 (Stretch);
-f since Debian 8 (Jessie);
-t since Debian 9 (Stretch).