I am trying to setup a derived metric. We have several LPAR's ad the Unix team likes to look at CPU usage in number of CPU's used not in % Utilization. My thought is to take the virtualCPUs count from the CPUCounts and the Utilization from the HostCPUs. Multiply these together and I should get the number of CPU's currently in use. so for example
CPUCounts.virtualCPUs = 4
HostCPUs.utilization = 50%
sum( 4 * 50%) = 2
Current CPU's in use is 2.
However I am not able to get the syntax correct for hte derived metric. Any help would be greatly appreciated. And if there is a better way to do this then I am up for that as well.