Take the 2-minute tour ×

is there any command/tool on windows 7 to see the memory consumed by a process in bytes, just like tasklist/taskmanager, but in bytes?

share|improve this question

migrated from stackoverflow.com May 5 '10 at 5:45

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers

SysInternals has a bunch of tools that can help you.

share|improve this answer
Specifically, the "Process Explorer" (technet.microsoft.com/en-us/sysinternals/bb896653.aspx) will do exactly that, and far more as well. –  Fake Name May 5 '10 at 6:48
add comment

What about get-process cmdlet for powershell?

share|improve this answer
add comment

You can run:

WMIC /OUTPUT:C:\plop.txt PROCESS get *

Open up plop.txt and pick the info (fields) your interested in then use:

WMIC PROCESS where name="csrss.exe" get caption,PeakVirtualSize,PageFileUsage,PeakWorkingSetSize


Caption    PageFileUsage  PeakVirtualSize  PeakWorkingSetSize
csrss.exe  1961984        86114304         29220864
share|improve this answer
+1 for 'plop.txt'. I think I'll use that next time I need a temporary file name. –  Jason R. Coombs May 4 '10 at 11:35
Nice. What is the param to see the amount of memory used in bytes? –  dmessf May 4 '10 at 11:46
I would say WorkingSetSize (They are described here msdn.microsoft.com/en-us/library/aa394372%28VS.85%29.aspx) –  Alex K May 4 '10 at 11:54
add comment

Your Answer

