我使用.NET远程检索Windows服务周期性的状态更新成用于显示哪些服务正在做一些现场统计一个控制器的应用程序。
I am using .NET remoting to retrieve periodic status updates from a Windows service into a 'controller' application which is used to display some live stats about what the service is doing.
将所得的网络流量是巨大 - 多次为更新的数据的大小 - 如此清楚我已经实现远程处理code错误地在一个非常低效的方式。作为实现固定它的第一步,我需要监视服务使用交谈的控制器的IP端口的流量,这样我就可以建立一个基线,然后验证修复。
The resulting network traffic is huge - many times the size of the data for the updates - so clearly I have implemented the remoting code incorrectly in a very inefficient way. As a first step towards fixing it, I need to monitor the traffic on the IP port the service is using to talk to the controller, so that I can establish a baseline and then verify a fix.
谁能推荐一个工具和/或编码技术,我可以用它来获得流量统计? A发送的字节数计数的端口就足够了。
Can anyone recommend a utility and/or coding technique that I can use to get the traffic stats? A "bytes sent" count for the port would suffice.
Wireshark的是最好的工具之一用于获取和分析IP通信。
Wireshark is one of the best tools for capturing and analyzing IP traffic.
分类跛脚,你先回答,并没有得到复选标记。我不是故意的蛇你。 +1作为安慰。
Sort of lame that you answered first and didn't get the check mark. I didn't mean to snake you. +1 as a consolation.