WinNT CPU Utilization for DOS?

Posted by: Dearing

WinNT CPU Utilization for DOS? - 03/12/2001 08:01

Does anyone know of a Command-line based CPU util meter? Top for NT would be fine, but the less written to the output, the better. This is planned to go into a batch file that can generate an alert if the utilization goes over some threshold.
Any links / ideas would be appreciated.
Thanks,
Jason
Posted by: tonyc

Re: WinNT CPU Utilization for DOS? - 03/12/2001 08:32

I haven't seen such an animal, but that type of information could be obtained via the Win32::PerfLib Perl module included in ActiveState's Win32 Perl distribution if all else fails.
Posted by: number6

Re: WinNT CPU Utilization for DOS? - 03/12/2001 19:37

The Windows NT Performance monitor has an ability to monitor the CPU usage, and if needed you can set Alerts which can trigger events such as writing to the NT Event logs, running a DOS application or whaever else you can think of.

Performance monitor is available in NT4.0 and 2K [and XP].

The Alerts are specified under the Performance monitor program.

You normally have to be running the Performance monitoring program in order to get alerts, but you can monitor multiple counters at once - which may be more useful than a strict CPU usage utility.

Hope this helps.