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?
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
SysInternals has a bunch of tools that can help you.
What about get-process cmdlet for powershell?