Articles

How to monitor a windows process

March 17, 2011 at 04:29:26
Specs: 2003 server, 3GB

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


See More: How to monitor a windows process

Report •


#1
March 17, 2011 at 04:31:16

is there a way I could get an output for that particular process, just want to know if its runnig or not


Report •

#2
March 17, 2011 at 05:41:51

As ever, if you have a Windows problem you should turn to the excellent SysInternals. The utility "pslist" in the "PSTools" suite will do the job.

Whilst you're there, check out the other SysInternals utilities and have a look at Mark Russinovich's excellent blog. You won't regeret it.


Report •

Related Solutions


Ask Question