---
title: "How do I monitor virtual memory on a Windows machine?"
description: "Virtual memory on Windows can be monitored using perfmon counters or WMI classes. Use the netprobe tool to list accessible perfmon counters and check for virtual memory metrics."
url: "https://docs.itrsgroup.com/docs/faq/geneos/360002451658-geneos-how-do-i-monitor-virtual-memory-on-a-windows-machine/index.html"
---
For Windows OS, the metric is available either through perfmon counters or the WMI (Windows Management Instruments) classes.

To see which perfmon counters are accessible to the netprobe, do the following:

From the cmd, from the netprobe install folder, run this:
NetprobeNT\_64.exe -perf > c:\temp\perfmon.log
(change the .exe filename if needed)
This will save all the perfmon counters in the perfmon.log file.
You can investigate the file to see if the virtual memory information is there.

Below is a sample xml that will only show the \_Total value:

|  |
| --- |
| `<sampler name=``"Vantage Virtual Mem Test"``>`  `<plugin>`  `<perfmon>`  `<template>`  `<tableDefinition>`  `<objectID>`  `<data>``230``</data>`  `</objectID>`  `<instances>`  `<instance>`  `<data>_Total</data>`  `</instance>`  `</instances>`  `<counters>`  `<counter>`  `<name>`  `<data>Process ID</data>`  `</name>`  `<value>`  `<data>``784``</data>`  `</value>`  `</counter>`  `<counter>`  `<name>`  `<data>VirtualMemory size(Bytes)</data>`  `</name>`  `<value>`  `<data>``186``</data>`  `</value>`  `</counter>`  `</counters>`  `</tableDefinition>`  `</template>`  `</perfmon>`  `</plugin>`  `</sampler>` |


