http://windows.microsoft.com/en-us/windows/what-task-manager-memory-columns-mean#1TC=windows-7
If I'm reading correctly, there is no way to see how much swap is used by a process. Is this correct, or am I missing something?
Effectively, the Memory (Private Working Set)
is the sum of both the in-memory and swap that's used by the process? Yes/No?
And Commit Size
is effectively meaningless, since the description mentions that it's Virtual Memory, and Virtual Memory by itself is free anyways?
For a UNIX user, this terminology and descriptions by Microsoft seem quite confusing.
Best Answer
The Performance Monitor (perfmon.exe) has counters for process page file usage.
That will add a line that graphs the page file usage of the selected process, so it may not be very useful. You can use PowerShell to pull the data numerically:
Get-Counter '\Process(<process name>)\Page File Bytes'
Where
<process name>
is the name of the process according to Windows. You can get them all by using a wildcard:Get-Counter '\Process(*)\Page File Bytes'
All processes will be listed, and the total usage for all processes will be at the bottom, with a process name of "_total".
Substitute other process counters to get the memory metrics that you are looking for.