Perfmon / PAL:对 IIS 中托管的 Web 服务器的 send/received 字节的测量

Perfmon / PAL: Measurement of send/received bytes for a web server hosted in IIS

我有一个 Web 服务器(.aspx 页面和 WCF 界面)托管在 IIS 中,想要分析数据量 received/send。通过 WCF 接口通信的服务在客户端被禁用。 我在 Perform 中创建了一个数据收集器集来跟踪 4 小时的流量并使用 PAL 对其进行分析。我使用了性能计数器 WebService Total Bytes Received(分别为 WebService Total Bytes Send),并期望接收到的数据比发送的数据多得多。但是发送数据要高得多。

性能计数器 WebService 接收的总字节数(相应的 WebService 发送的总字节数)究竟测量了什么?

数据 from/to 是否也包含 WCF 服务(如果需要),还是仅包含我的 HTTP 流量?

谢谢 马塞尔

PAL 显示 WebService.TotalBytesReceived 和 WebService.TotalBytesSent 的文档。它是网络服务发送和接收的数据。它包括 HTTP 和 WCF 流量。

由于无法仅关闭 WCF 服务 (How to Start and stop wcf services in IIS) 来测量 HTTP 流量,因此使用 wireshark 来确定有多少数据将 received/send 超过相应的港口。