Monitoring a process

I want to monitor a process in windows and find the cpu and memory
usage. How can i do that?

Bu Mihai wrote:

I want to monitor a process in windows and find the cpu and memory
usage. How can i do that?

I don’t know if there’s a higher-level API, but the raw “PerfMon”
counters are stored in the Registry and can be grabbed using a Registry
reader.

Bu Mihai wrote:

I want to monitor a process in windows and find the cpu and memory
usage. How can i do that?

See sys-proctable.

I think the gem is broken at the moment. If you have a problem, go to
http://www.rubyforge.org/projects/sysutils, download the sys-proctable
zip file and install it manually.

Regards,

Dan