如何测量输入/输出用于.NET Remoting的IP端口的字节? [英] How do I measure bytes in/out of an IP port used for .NET remoting?

查看:133
本文介绍了如何测量输入/输出用于.NET Remoting的IP端口的字节?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用.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.

这篇关于如何测量输入/输出用于.NET Remoting的IP端口的字节?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆