获取前端电脑的CPU,内存使用率 Post By:2019/7/7 15:33:00 [只看该作者]
狐表可以获取前端电脑的CPU,内存,硬盘的使用率吗?
论坛里只找到了对本机的CPU,我想获取前端电脑的,比如某个IP的电脑CPU,内存,硬盘的使用率。
Dim cpu As new System.Diagnostics.PerformanceCounter("Processor", "% Processor Time", "_Total") cpu.MachineName = "." cpu.ReadOnly = True cpu.NextValue system.threading.thread.sleep(500) msgbox(cpu.NextValue)