Realtime CPU monitoring

custom
May 19, 2007 at 08:58:17
Specs: Win XP, amd 64 3200

Hi,

im in a need of some code (VB?) that enables me to log realtime cpu utilization (to txt or csv?).
Its important that it works realtime, and also it have to show the cpu usage for each process. Like task manager in windows, just with some log function.

The reason im looking for this is because there is some process that forces my screen to go blank for about 4sec's at a time, and of course, since its blank i cannot see what process causes this. Now, if anyone know of a program that does exactly this, please tell:)


See More: Realtime CPU monitoring

Report •


#1
May 19, 2007 at 19:18:55

there are some sample vb scripts at
http://www.microsoft.com/technet/sc...
for almost real time, you may consider using loops (infinite??)

Report •

#2
May 20, 2007 at 08:42:38

I didnt find any script that showed cpu usage for each process..
But i'll keep on looking. I think i have seen a vbscript for this before.

Report •

#3
June 2, 2007 at 04:52:33

Mark Russinovich has a nice utility called procmon which can be called by script. You'd end up collecting logs though and running it on every machine.
Another option would be Cacti. A sourceforge project that has gained some popularity. Stanford uses it. Even still though you have a "Poll" interval, so "Real Time" is not so "Real". Performance is the biggest problem with real time monitoring of processes.
WMI or SNMP seems to be your best bet. are you needing info on a couple of machines or a large network? you can "poll" for yourself on a small scale using wmic in batch(native xp) or if your have many to collect data from SNMP truly is the best answer and Cacti is a free SNMP solution. (can't beat the price! ;)


Report •

Related Solutions


Ask Question