CPU % by process
-
Does anybody know how to get the cpu used percentage by process and/or thread like NT4/2K taskmanager or win9x wintop?
-
Does anybody know how to get the cpu used percentage by process and/or thread like NT4/2K taskmanager or win9x wintop?
Look up the Pdh* functions in MSDN: \Platform SDK\Base Services\Performance Monitoring\Performance Monitoring --Mike-- http://home.inreach.com/mdunn/ The preferred snack of 4 out of 5 Lounge readers.
-
Does anybody know how to get the cpu used percentage by process and/or thread like NT4/2K taskmanager or win9x wintop?
Darren I posted ProcessStudio, which does just that. I'll separate the class which enumerates the Processes/Threads using the Performance Counters, I'll post the code as a class to codeproject, including an example on sorting the by CPU usage. I'll do this in the next 2/3 days, as I have a busy schedule on at the minute. Regards Norm
-
Does anybody know how to get the cpu used percentage by process and/or thread like NT4/2K taskmanager or win9x wintop?
Darren I posted ProcessStudio, which does just that. I'll separate the class which enumerates the Processes/Threads using the Performance Counters, I'll post the code as a class to codeproject, including an example on sorting the by CPU usage. I'll do this in the next 2/3 days, as I have a busy schedule on at the minute. Ah, one caveat, this only works on NT platforms and above. Regards Norm
-
Does anybody know how to get the cpu used percentage by process and/or thread like NT4/2K taskmanager or win9x wintop?
Talking about this subject, I think it's missed chance you can't see a graph per process/thread in the taskmanager, only total CPU- and memory-usage. In that case, Norm Almond did a great job :rose: with ProcessStudio (Although the application may run slow, at least the version I saw on my computer but a lot of external factors may have played a role in that) -- Alex Marbus www.marbus.net
-
Talking about this subject, I think it's missed chance you can't see a graph per process/thread in the taskmanager, only total CPU- and memory-usage. In that case, Norm Almond did a great job :rose: with ProcessStudio (Although the application may run slow, at least the version I saw on my computer but a lot of external factors may have played a role in that) -- Alex Marbus www.marbus.net
-
Alex Try the latest version, if its still slow I devote some time in sorting it out. Regards Norm
Tnx Norm, I'll download and install it at my work tomorrow (since I run WinME @ home). -- Alex Marbus www.marbus.net But then again, I could be wrong.