Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

3 Answers 3

SysInternals has a bunch of tools that can help you.

share|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

What about get-process cmdlet for powershell?

share|improve this answer

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
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.