How is the total memory utilization calculated for a Windows server monitor?
Memory utilization for Windows is calculated using WMI queries.
The
Total,
Free, and
Used Memory is calculated using
Select FreePhysicalMemory,TotalVisibleMemorySize from
Win32_OperatingSystem WMI query.
The
Swap Memory value is calculated using
Select Name,AllocatedBaseSize,CurrentUsage from
Win32_PageFileUsage WMI query.
Open PowerShell and execute the below command to view data,
Get-WmiObject -Query "Select Name,AllocatedBaseSize,CurrentUsage from Win32_PageFileUsage" -ComputerName '.'
From the output, SWAP memory utilization % can be calculated by Current usage/AllocatedBaseSize x 100.
Know the other memory related metrics that we provide for Windows monitoring.
Learn more.
Related Articles
No data for service and process in Windows server monitor
If you see "No Data" for process and service metrics (such as CPU or memory usage of monitored services) in the Site24x7 Windows server monitor user interface, follow the troubleshooting steps below. Run PowerShell Commands Open PowerShell as ...
Executables and scripts to allow for Windows server monitoring
One of the reasons you could not enable Site24x7 server monitoring could be your organization's group policy denying access to the executables, scripts, and batch files associated with Site24x7 server monitoring. Mark the following executables, ...
Monitor and validate DNS IP changes using regex
DNS administrators often monitor their DNS servers to detect changes in domain resolution and ensure IP mappings remain secure and accurate. Problem When your organization adds or modifies an IP address for your domain name, it’s critical to: Be ...
Troubleshooting steps when no data is received from the SQL server
As we use "Perfmon" to fetch data for Microsoft SQL monitoring, please check if the counters related to SQL are present in the user's perfmon. Please follow the steps below: Open the server machine in which the issue is occurring. Start -> Run and ...
Difference between a website monitor and a SOAP Web Service monitor
Website monitor will support monitoring of any web application via POST, GET and HEAD methods of configuration. Learn more on the performance metrics provided for a website monitor. SOAP Web Service monitors , on the other hand, lets you to ...