1
標題幾乎告訴一切。是否有可能通過perl腳本(使用草莓perl)在windows2003中獲得當前的帶寬使用情況?perl on win2003(草莓perl) - 如何獲得當前的帶寬使用情況?
標題幾乎告訴一切。是否有可能通過perl腳本(使用草莓perl)在windows2003中獲得當前的帶寬使用情況?perl on win2003(草莓perl) - 如何獲得當前的帶寬使用情況?
我很少使用Windows,並且目前無法訪問Windows計算機,但您應該可以使用WMI/WQL來獲取所需內容。
這種分佈提供了一個DBI接口WMI:
https://metacpan.org/release/DBD-WMI
正確的查詢是沿
Select Name, currentbandwidth
FROM Win32_PerfFormattedData_Tcpip_NetworkInterface