2012-03-24 75 views

回答

2

我很少使用Windows,並且目前無法訪問Windows計算機,但您應該可以使用WMI/WQL來獲取所需內容。

這種分佈提供了一個DBI接口WMI:

https://metacpan.org/release/DBD-WMI

正確的查詢是沿

Select Name, currentbandwidth 
    FROM Win32_PerfFormattedData_Tcpip_NetworkInterface 

More about that class from MSDN行。

相關問題