Once upon a time, Richard Shaw <hobbes1069(a)gmail.com> said:
I would like to monitor serial port communications read only, but I
haven't
found a tool that makes that easy in the Fedora repos.
You might look at an eBPF script - for example, there's a "ttysnoop" in
the bcc-tools package (it's /usr/share/bcc/tools/ttysnoop). You might
be able to adapt that to your needs.
--
Chris Adams <linux(a)cmadams.net>