Forum Discussion
per core CPU usage
Hi iflyF16,
You can retrieve per-core CPU usage details for an Azure VM using Azure's monitoring tools. Follow these steps:
- Log in to the Azure Portal.
- Navigate to Virtual Machines and select your Azure VM.
- In the left menu, go to Monitoring and choose Metrics.
Concerning your second question, CPU usage and per-core CPU usage may differ.
CPU usage is typically presented as a percentage of the total capacity of a single CPU core. In multi-core systems, the percentage can exceed 100%, such as if 3 cores are at 60%, resulting in a total CPU usage of 180%.
In contrast, per-core CPU usage provides the utilization for each individual core. This is valuable for understanding how your application utilizes specific cores. For instance, if one core is at 15% usage and another at 5%, it suggests varying levels of utilization across cores.
terminology - Difference between CPU Usage and CPU Utilization? - Stack Overflow
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
- flowaceDec 22, 2023Copper ContributorThanks for the detailed guidance on retrieving per-core CPU usage in Azure VMs through the Azure Portal's Monitoring tools. Your step-by-step instructions will be beneficial.
Regarding the distinction between CPU usage and per-core CPU usage, your explanation clarifies the difference for me. It's insightful to note that while CPU usage represents the overall load on all cores, per-core CPU usage delves into individual core utilization, offering a more nuanced understanding of workload distribution. This distinction is valuable for optimizing performance across specific cores based on application requirements. Great insights, much appreciated!