Dear all
Hi
I want see memory usage on one of my vm but in chart option there are many items such as active and consumed no want to know which one show memory usage ?
BR
Dear AlessandroRomeo68
Thanks.
Previously i was read that document
but if you see chart option for a VM performance about memory you will see follow parameters :
Active , Active write, Balloon target, compressed , compression rate, compression saved, consumed, decompress rate, grant, host consumed , host cache consumed , overhead, share, swap in , swap out , .........
As you see there is not any parameter such as usage that has been mentioned in that document .
Actually now i want to see realtime memory usage , which parameter do i had to see ?
BR
Babak
Hi,
You can use PowerCLI
VMware PowerCLI Cmdlets Reference
-------------- Example 4 --------------
Get-VM -Name "MyVM" | Get-Stat -Stat "mem.usage.average" -Start $MyStartDateTime -Finish $MyFinishDateTime -MaxSamples 10
Retrieves the average memory usage statistics for the specified virtual machine between the specified start and finish date and time. The maximum number of retrieved samples is limited to 10.
-------------- Example 5 --------------
Get-VM -Name "MyVM" | Get-Stat -CPU -Memory -Realtime
Retrieves the real-time CPU and memory usage statistics for the specified virtual machine.
OR
https://geek-university.com/vmware-esxi/monitor-active-memory-utilization/
Alessandro Romeo
As I understood active memory is such as memory usage in real time
Is that correct ?
Yes,
Best regards
Alessandro Romeo
Hi,
Yes, if memory consumed is 20 Gb.
Don't worry too much about "consumed", it is a memory that the VM's operating system uses to cache disk accesses (it uses it because it has it available).
Keep in mind that this value varies depending on the application. In the end it all depends on what runs on that VM, there could be processes that sleep all the time but that at particular times require a lot of system resources.
What processes were running on VM at that time that you scored 20 GB?
Are the consumption of 20 GB of memory fixed?
Alessandro Romeo
According attach pic 20GB is average consumed memory
Actually just running java (jboss) application server on that vm
2 - while i want see a report for a period time for example 24 hours there is not Active parameter to select in this mode do i had to select consumed ?
Hi
Clearly is needed to take a long-term average. You can also monitor Jboss consumption.
Best regards,
Alessandro Romeo
while i want see a report for a period time for example 24 hours there is not Active parameter to select in this mode do i had to select consumed ?
Hi,
Get VMs CPU and Memory Daily Usage
Use Performan graphics and select the chart for 24 hours.
Or with PowerCLI as I said in the previous emails, you create a 24-hour report.
Alessandro Romeo