FreeBSD6.2 What is the easiest Way to Capture RS-232
SerialData?
Ted Mittelstaedt
tedm at toybox.placo.com
Sat Feb 16 19:10:15 UTC 2008
If that is SMDR phone system data your handling, once you get
the program done would you mind posting a copy?
Ted
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Martin
> McCormick
> Sent: Thursday, February 14, 2008 11:02 AM
> To: freebsd-questions at freebsd.org
> Subject: Re: FreeBSD6.2 What is the easiest Way to Capture RS-232
> SerialData?
>
>
> Warren Block writes:
> > Depending on the switch, you may find that the /usr/ports/comms
> utilities
> > atslog or cdr_read will do the work for you.
>
> Derek Ragona writes:
> >You still need to handle when the cord is unplugged, or put the
> server in a
> >secure location away from other people.
>
> >If you want the program to be more capable of staying running
> you can have
> >the program fork a child and if the child dies, fork a new
> child. This is
> >the method used for many running services. Just be sure if the
> child dies
> >the log file is closed and that same file is opened by the new child.
>
> Excellent ideas from both! Thank you.
>
> Martin McCormick
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list