title: How to profile memory and CPU usage from C#
body: <p>I'm running a test that launches two processes, using C#. I need to get the top memory and CPU used by my process. Please, someone could give me a guideline about how to do it using managed code? (I also run it on linux using mono).</p>
  
  <p>The architecture is the following:</p>
  
  <blockquote>
    <p>The process <code>test.exe</code> launches two processes: <code>A.exe</code> and <code>B.exe</code>. I need to measure
    meausre max memory and CPU for processes A and B, from <code>test.exe</code></p>
  </blockquote>
  
  <p>Is it possible to do? Thanks in advance</p>