dorinpaunescu 0 Newbie Poster
Hi all ! I tried a lot of time to find something useful to get disk and network usage (separately) for a Windows process. Actualy I make use of [Windows Performance Counters](http://msdn.microsoft.com/en-us/library/windows/desktop/aa373083(v=vs.85).aspx) but it can't provide separated statistics, it provide me all IO activity. 
A disadvantage in Performance Counters are , they cannot be accessed using process id (PID), this deficiency is complemented by [WMI](http://msdn.microsoft.com/en-us/library/windows/desktop/aa394582(v=vs.85).aspx), but the same situation here, I can get only all IO activity. WMI has a lot of classes [WMI Classes](http://msdn.microsoft.com/en-us/library/windows/desktop/aa394084(v=vs.85).aspx) and I don't know if I missing something.
Perfmon in Windows 7 appear to make use of WMI, but what kind of API make use Resource Monitor ?
Many Thanks !