0

I wish to use resmon.exe to monitor usage of my application exe. Is there an equivalent WMI or command line switch that i can use to query data form resmon.exe I wish to monitor Memory usage of my application(as in Private memory, Shareable, and Overall ) when my application is launched, then after 30 secs, and so.

Ronak Agrawal
  • 1,006
  • 1
  • 19
  • 48
  • 1
    What specifically do you want to do? resmon displays metrics likely gathered from querying Performance Counters, which you can do directly yourself. – Alex K. Dec 18 '15 at 13:51
  • I wish to monitor Memory usage of my application(as in Private memory, Shareable, and Overall ) when my application is launched, then after 30 secs, and so. – Ronak Agrawal Dec 18 '15 at 13:53
  • 2
    There are built in ways to do this, many duplicate questions here if you search, E.g. [How to get memory available or used in C#](http://stackoverflow.com/questions/750574/how-to-get-memory-available-or-used-in-c-sharp) - If this does not include the data you want you would use a `PerformanceCounter` – Alex K. Dec 18 '15 at 13:57

0 Answers0