title: Tasklist total memory of specific proces with subprocesses windows
body: <p>I'm trying to log the memory usage of browsers for exemple for Chrome / Firefox etc. </p>
  
  <p>For Firefox I can simply use this little command line:</p>
  
  <pre><code>tasklist /fo csv /fi "imagename eq firefox.exe" &gt; DumpResults.csv
  </code></pre>
  
  <p>And this will nicely result with one proces and its usage. But when applying this train of thoughts to Chrome you'll get around 4 processes even when you did a clean launch of Chrome. Is there any way to sum the results?</p>
  
  <p>Sorry for the stupid question but it's my first attempt to create a bat file.</p>