[ale] Monitoring the serial port

Pete Hardie pete.hardie at sciatl.com
Wed Sep 4 15:18:02 EDT 2002


John C wrote:
> Does anyone know of a way to capture serial port output of a device onto a
> Linux system and log everyting it sees to a file?
> 
> What I am trying to do is connect to a router that spits diagnostic messages
> through the serial port, and archive whatever I see.
> 
> 
> I was thinking about using a combination of cu and ttysnoop.... Is this the
> best way to go at it?

cat < /dev/ttyS2 > /log/logfile is a simplistic way




-- 
Pete Hardie                   |   Goalie, DVSG Dart Team
     posting from, but not     |
	speaking for:             |
Scientific Atlanta, Digital Video Services Group



     - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. 


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list