Watching serial port activity.

Grant Edwards grante at visi.com
Wed May 31 11:09:18 EDT 2006


On 2006-05-31, Sergei Organov <osv at javad.com> wrote:

> It seems that sniff on a real tty device could be implemented using the
> same technique strace uses to intercept and show syscalls, though I'm
> not aware of any sniffer application that does it.

Using strace you can indeed trace read/write calls on
user-specified file descriptors.  Figuring out which file
descriptors to trace is the tricky part.

-- 
Grant Edwards                   grante             Yow!  I was making donuts
                                  at               and now I'm on a bus!
                               visi.com            



More information about the Python-list mailing list