VBScript code: View CPU usage for a process name

On July 14, 2010, in How-to, Scripting, by Cubert aka (Cube Dweller)

So you need a VB script to check for a process or set of processes CPU usage? Let’s say I want to see all “svchost.exe” process PID’s and the amount of CPU each process is using? see in line 6 and 7 the name of the process your looking for? Just edit the name of the process and run the script. It will print out the PID and the CPU Continue reading

Tagged with: