Hi Daan,

We measure by using Zabbix Agent inside the VM. Zabbix Agent is calling
these keys for accurate CPU Utilisation.

Windows: perf_counter["\Processor(_Total)\% Processor Time",1] Linux :
mpstat 1 1 | awk '/Average:/ {print 100-$NF}'


This VM has 32Core, 128GB RAM

Regards,
Palash


On Tue, 6 Feb 2024 at 11:18 PM, Daan Hoogland <daan.hoogl...@gmail.com>
wrote:

> Palash,
> Are you logged in to the VM while measuring? That might explain (part) of
> the difference.
> What utilisation are you referring to? (cpu mem)
> In the case of CPU; how many cpus are you measuring? (i.e. 95 ≃ 50*2)
>
> On Tue, Feb 6, 2024 at 3:29 PM Palash Biswas <palash...@gmail.com> wrote:
>
> > Hi Community,
> >
> > I have a VM. When i monitor the contents of the VM, it shows the
> > utilisation is 95% and above.
> >
> > But from Cloudstack Metrics, it shows only 50% Max Utilisation.
> >
> > How does Cloudstack monitor the VM Metrics (CPU and Memory). Is there any
> > way to make it more accurate?
> >
> > My Vm stats interval (vm.stats.interval) is set to 60000Miliseconds (60
> > Seconds)
> >
> > Regards,
> > Palash
> >
> >
> >
>
> --
> Daan
>

Reply via email to