| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Realtime CPU monitoring
|
Original Message
|
Name: Shr0Om
Date: May 19, 2007 at 08:58:17 Pacific
Subject: Realtime CPU monitoringOS: Win XPCPU/Ram: amd 64 3200Manufacturer/Model: custom |
Comment: 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:)
Report Offensive Message For Removal
|
|
Response Number 2
|
Name: Shr0Om
Date: May 20, 2007 at 08:42:38 Pacific
|
Reply: (edit)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 Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: bdivineiii
Date: June 2, 2007 at 04:52:33 Pacific
|
Reply: (edit)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 Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home