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?

link|improve this question
feedback

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

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

3 Answers

SysInternals has a bunch of tools that can help you.

link|improve this answer
1  
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
feedback

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

Output:

Caption    PageFileUsage  PeakVirtualSize  PeakWorkingSetSize
csrss.exe  1961984        86114304         29220864
link|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
feedback

What about get-process cmdlet for powershell?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown