简体   繁体   中英

Does windows have performance counters to measure statistics of a dialup connection?

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?

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 ".

You should take a look at the IP helper API functions:

http://msdn.microsoft.com/en-us/library/aa366073%28VS.85%29.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM