HiveBrain v1.2.0
Get Started
← Back to all entries
snippetMinor

How to get Memory Usage from Windows Server 2012 R2 in OpenStack

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
2012serveropenstackusagegetmemoryhowwindowsfrom

Problem

I have an Rocky OpenStack cluster, I want to monitor memory usage of instances.

monitoring of Linux instances is OK but Windows Server instances do not provide any data for memory usage.

I've searched a lot, I've installed balloon driver on windows instances but not worked for me. All components are updated to latest version.

So how can I get memory usage data from them?

Solution

In PowerShell

Get-WmiObject -Class win32_operatingsystem -Property TotalVisibleMemorySize,FreePhysicalMemory


Or

wmic os get freephysicalmemory


Or

systeminfo

Code Snippets

Get-WmiObject -Class win32_operatingsystem -Property TotalVisibleMemorySize,FreePhysicalMemory
wmic os get freephysicalmemory

Context

StackExchange DevOps Q#8811, answer score: 2

Revisions (0)

No revisions yet.