4
votes

I have an EC2 instance with 8 vCPUs. I would like to see metrics (and later on also alarms) on the cpu utilization per CPU.

The CPUUtilization metric is a total across all cpus.

Since we are running a few processes that are CPU heavy, I would like to know if there is one CPU that is close to 90% utilization or if there are 6 CPUs that are over 20% utiliztion. Even the max utilization across all CPUs will be good enough.

Is there a way to know that or must it be a custom metric?

1

1 Answers

5
votes

You can install the CloudWatch agent on your EC2 instance and set totalcpu to "false" (the default is "true"). This will give you a metric per CPU core.