On 9/19/07, Charles Lepple <[EMAIL PROTECTED]> wrote: > On 9/19/07, Tuc at T-B-O-H.NET <[EMAIL PROTECTED]> wrote: > > I also wondered if for FreeBSD anyone > > knew of a "tcpdump" for serial communications. This way if it IS > > doing something never seen before, I can trap it for inclusion. > > ktrace and kdump will show you system calls (including read()s and > write()s on the serial port).
I should clarify: these are for monitoring a local program on a *BSD box (similar to using strace on Linux/SysV). Doing some sort of man-in-the-middle monitoring is a hassle due to baud rates and everything. Also, if you want to watch the Windows program interact with the UPS, take a look at portmon from the Sysinternals collection (not sure where it went now that the author works for Microsoft or whatever). -- - Charles Lepple _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

