What is system monitor memory % actually measuring?

This integration:

reports 4% CPU use and 13.8% memory use.

However adding up all the container usage I get: 1% CPU use (or 4% if you ignore the number of processors) and 27.6% Memory use.

If I only count the core use I get 0.67% CPU and 4.2% memory use.

So the CPU seems obvious, it is a total CPU use, ignoring summing the number of processors.

But what the heck is this integration actually measuring in regards to memory percent?

I’d also like to know the same thing about CPU use as well.

I see occasional spikes up to around 60% CPU use according to system monitor. and that spike last for anywhere from 8-9 minutes every single time. But it’s not regular when it happens. It happens anywhere from 30 minutes to 2.5 hours apart.

I always thought it was from stuff outside of HA (I run a Kodi medfia server as well) but the recent discussions make me think that it is something that HA is doing buut I can’t figure out where it’s coming from.

So is the CPU usage only related to HA processes or is system wide?

Sorry, not trying to hijack the thread but I figure it’s related.

System wide (for a Home Assistant OS install it includes all containers, cant comment on other install methods) but, if you have a multi core processor it measures the sum of all cores. So 60% CPU use on a 2 core 4 thread processor (the maximum use you could see on that system would be 400%) is only really using 15% of the total available resources.

Also this will change with the next supervisor release. No longer need to divide the value by the number of cores:

Still don’t know what System Monitor memory_percent is measuring.

I don’t run HassOS so I guess I still don’t really know for sure.

Thanks for the info tho.