|I'm trying to write a small script to monitor a windoes process on 2003 server.|
Let say I want to monitor iexplorer.exe using the "typeperf" command in CMD
in CMD I type:
typeperf -cf iexplorerexe
and I get en error No valid counters
Does anybody know a good way to monitor a process and get a result either 0 or 1 to find out if that process is running? I have a process that keeps crashing without knowing.
Thanks for any help