mappings between counters, structure and Task Manager columns – Memory Performance Information (Windows)
Posted by jpluimers on 2018/01/03
I copied the tables from [WayBack] Memory Performance Information (Windows) as even Microsoft managed to let information “disappear” for EOL products (the en-US version already “disappeared”):
System Memory Performance Information
The following table associates memory object performance counters with the data returned by the memory performance functions in the MEMORYSTATUSEX, PERFORMANCE_INFORMATION, andPROCESS_MEMORY_COUNTERS_EX structures, and with the corresponding information displayed by Task Manager.
Memory object counter (unless otherwise noted) Structure Task Manager Performance tab for Windows Server 2008 and Windows Vista Task Manager Performance tab for Windows Server 2003 and Windows XP Available KB MEMORYSTATUSEX.ullAvailPhys andPERFORMANCE_INFORMATION.PhysicalAvailable Subtract usage value shown in Memorygraph from Physical Memory (MB): Total Physical Memory: Available None MEMORYSTATUSEX.ullTotalPhys andPERFORMANCE_INFORMATION.PhysicalTotal Physical Memory (MB): Total Physical Memory: Total Committed Bytes PERFORMANCE_INFORMATION.CommitTotal System: Page Filefirst value (in MB) Commit Charge: Total Commit Limit MEMORYSTATUSEX.ullTotalPageFile andPERFORMANCE_INFORMATION.CommitLimit System: Page Filesecond value (in MB) Commit Charge: Limit Free & Zero Page List BytesWindows Server 2003 and Windows XP: This performance counter is not supported. None Physical Memory (MB): Free Not applicable None PERFORMANCE_INFORMATION.CommitPeak None Commit Charge: Peak None PERFORMANCE_INFORMATION.HandleCount System: Handles Totals: Handles None MEMORYSTATUSEX.ullAvailPageFile None None Pool Nonpaged Bytes PERFORMANCE_INFORMATION.KernelNonpaged Kernel Memory: Nonpaged Kernel Memory: Nonpaged Pool Paged Bytes PERFORMANCE_INFORMATION.KernelPaged Kernel Memory: Paged Kernel Memory: Paged Pool Paged Bytes + Pool Nonpaged Bytes PERFORMANCE_INFORMATION.KernelTotal Kernel Memory: Total Kernel Memory: Total Processes (Objects object) PERFORMANCE_INFORMATION.ProcessCount System: Processes Totals: Processes Thread Count (Process(_Total) object) PERFORMANCE_INFORMATION.ThreadCount System: Threads Totals: Threads Cache Bytes + Sharable pages on the standby and modified lists PERFORMANCE_INFORMATION.SystemCache None System Cache Cache Bytes + Modified Page List Bytes + Standby Cache Reserve Bytes + Standby Cache Normal Priority Bytes + Standby Cache Code BytesWindows Server 2003 and Windows XP: Except for Cache Bytes, these performance counters are not supported. None Physical Memory (MB): Cached Not applicable
Process Memory Performance Information
The following table associates process object performance counters with the data returned by the memory performance functions in the MEMORYSTATUSEX, PERFORMANCE_INFORMATION, andPROCESS_MEMORY_COUNTERS_EX structures, and with the corresponding information displayed by Task Manager.
Process object counter Structure Task Manager Processes tab for Windows Server 2008 and Windows Vista Task Manager Processes tab for Windows Server 2003 and Windows XP Handle Count None Handles Handles Page File Bytes PROCESS_MEMORY_COUNTERS_EX.PagefileUsage Commit Size for all processes except the System process. For the System process, Page File Bytes is always 0. VM Size for all processes except the System process. For the System process, Page File Bytes is always 0. Page File Bytes Peak PROCESS_MEMORY_COUNTERS_EX.PeakPagefileUsage None None Pool Nonpaged Bytes PROCESS_MEMORY_COUNTERS_EX.QuotaNonPagedPoolUsage NP Pool NP Pool Pool Paged Bytes PROCESS_MEMORY_COUNTERS_EX.QuotaPagedPoolUsage Paged Pool Paged Pool Private Bytes PROCESS_MEMORY_COUNTERS_EX.PrivateUsage Commit Size VM Size Thread Count (Process(<image name>) for the specified image) None Threads Threads Virtual Bytes MEMORYSTATUSEX.ullTotalVirtual – MEMORYSTATUSEX.ullAvailVirtual None None Virtual Bytes Peak None None None Working Set PROCESS_MEMORY_COUNTERS_EX.WorkingSetSize Working Set (Memory) Mem Usage Working Set Peak PROCESS_MEMORY_COUNTERS_EX.PeakWorkingSetSize Peak Working Set (Memory) Peak Mem Usage Working Set – PrivateWindows Server 2003 and Windows XP: This performance counter is not supported. None Private Working Set Not applicable None PROCESS_MEMORY_COUNTERS_EX.QuotaPeakNonPagedPoolUsage None None None PROCESS_MEMORY_COUNTERS_EX.QuotaPeakPagedPoolUsage None None None MEMORYSTATUSEX.ullAvailPageFile None None None MEMORYSTATUSEX.ullTotalPageFile None None
–jeroen






Leave a comment