Windows是否有性能计数器来测量拨号连接的统计信息? [英] Does windows have performance counters to measure statistics of a dialup connection?
问题描述
Windows是否有性能计数器来测量拨号连接的统计信息?打开Perfmon,我可以看到它具有一个称为网络接口"的性能计数器,该计数器可用于收集所选网络接口(主要是LAN卡)上的统计信息,但在此处的列表中看不到我的拨号连接.我该如何为拨号连接(实际上是高速宽带连接!)收集统计信息,例如发送/接收的字节数,速度等?
Does windows have performance counters to measure statistics of a dialup connection? Opening up Perfmon I can see that it has a performance counter called "Network Interfaces" which can be used to collect stats on a chosen network interface (mostly LAN cards) but I cannot see my dial up connection in the list here. How do I go about collecting stats like bytes sent/received, speed etc for my dial up connection (which is actually a high speed broadband connection!) What is the perfmon query string I need to use?
推荐答案
好,终于有了解决方案... Windows Dialup API被称为总RAS "和" RAS端口.
Ok finally got a solution...the windows Dialup API is known as RAS for some reason. Windows vista has several performance counters for RAS services. You can get the required information by reading these counters. Refer "RAS total" and "RAS Port".
这篇关于Windows是否有性能计数器来测量拨号连接的统计信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!