Output CPU Utilization to text file

April 1, 2010 at 06:54:34
Specs: Windows 2000 SP4, 1.3 Ghz / 1 Gb RAM
Does anyone know of a way to output either individual processes' CPU utilization or the system's total CPU utilization at a given moment to a text file? I want to incorporate this into a batch file. I can do it in Windows XP with the "typeperf "\Processor(_Total)\% Processor Time" -sc 1" command, but the same parameters don't work in the Windows 2000 version, and I haven't been able to locate a help file for the 2k version.

See More: Output CPU Utilization to text file

Report •

April 5, 2010 at 10:16:41
I finally realized the issue. The counter name is the same for both the Windows 2000 and XP versions; however, being in a batch file meant that it needed two % characters in order to be properly piped to the typeperf command

As far as the other commands possible, I realized that I could just open up perfmon and see what was listed under the "Add Counters" option; they work just as well under typeperf.

Report •
Related Solutions

Ask Question