worker-processes

Monitoring CPU usage of IIS7 worker processes.

Hello! What is the best way to monitor IIS7 worker processes and store informations about websites which are using CPU/memory too much? Thanks ...

Monitoring a sub-process / can I get TotalProcessorTime for a Process group?

Is there a way to get the Process.TotalProcessorTime that reflects a process PLUS any processes that it has spawned? Alternatively, how can I verify that the process (or it's descendants) are still "actively" running? My app is spawning an external process and waiting for it to exit. With sample data it takes 5-20 minutes to complet...

Enumerating File Handles in C#

I would like to know whether it is possible to enumerate file handles in c#, maybe using Win32API. This is easily done for window and process handles, but it seems that it is not possible for file handles. While some functionality is offered by NtQuerySystemInformation, this is being phased out and therefore it is not recommended to us...