LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Com port moniter in Linux (https://www.linuxquestions.org/questions/linux-networking-3/com-port-moniter-in-linux-362716/)

billy chen 09-12-2005 01:40 PM

Com port moniter in Linux
 
Hi everyone,

I am new in Linux. Just wonder is there anyone kown where can I find some tools to moniter my linux com port. I have a pogram which communicate with a USB CDC device. But I just want to verify the message I send to device is really what I want at port level. Your any ideas are very appreciated!

Billy

MS3FGX 09-14-2005 02:23 AM

If you want to see what the serial port is doing, you can simply do:

cat /dev/ttyS0

That while show any traffic going over the first serial port. ttyS1 would be the second serial port, or COM 2 in DOS/Windows.


All times are GMT -5. The time now is 10:54 PM.