Portmon equivalent for Linux - Sniffing your serial port!

Bild von hadez

When writing programs on Windows that involve I/O operations using the serial port, one quickly ends up loving Sysinternals Portmon.

I just found myself in a situation where I needed the exact same functionality, but on Linux.
What I found was jpnevulator.
It’s plain, simple, and if you’re on Debian or Ubuntu, just apt-get install jpnevulator and you’re good to go.

If you want to know what goes in and out over your serial port (in my case ttyUSB0), just use the tool like this:
hikari:~$ jpnevulator --read --ascii --tty /dev/ttyUSB0
76 3F 0D 56 20 20 20 31 31 31 20 20 34 30 30 2E v?.V 111 400.
30 30 20 20 37 32 30 2E 30 30 20 35 31 35 39 31 00 720.00 51591
0D .

On a side note:
You can use it to write data to a serial port, too.
Or monitor/write to several ports at the same time.
Quite a nice tool!


Ubuntu package
Debian package
Official website

Kommentare

Thanks, I was looking for

Thanks, I was looking for this!

Me too! Thank you!

Me too! Thank you!

thanks

same here. the program is hard to find with such a name…

como

Writing a network-aware application isn’t difficult, but writing one that is scalable can be challenging. Overlapped I/O using completion ports provides true scalability on Windows NT 010-111 and Windows 2000. Completion ports and Windows Sockets 2.0 can be used to design applications that will scale to thousands of connections. The article begins with a discussion of the implementation of a scalable server, discusses handling low-resource 020-222 , high-demand conditions, and addresses the most common problems with scalability. Earning to write network-aware applications has never been considered easy. In reality, though, there are just a few principles to master–creating and connecting a socket, accepting a connection, and sending and receiving data. The real difficulty is writing network applications that scale from a single connection to many thousands of connections. This article will discuss the development of scalable Windows NT® and Windows 2000-based applications that use Windows® Sockets 2.0 (Winsock2). The primary focus will be the server side of the client/ server model; however 030-333 , many of the topics discussed apply to both.
Because the notion of writing a scalable Winsock application implies a server application, the following discussion is pertinent to applications running on Windows NT 4.0 and Windows 2000 040-444 . We’re not including Windows NT 3.x because this solution relies on the features of Winsock2 that are available only on Windows NT 4.0 and newer.

Excellently written post,

Excellently written post, if all bloggers offered 646-363 the same content as you, the internet would be 646-563 a much better place. I really appreciate 646-656 your way of presenting such an excellent suggestion.i will come back here to see more updates in future 646-985 as well.my best wishes for you always.Please keep it up! Cheers.

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Inhalt abgleichen