liveBook · Manning

Resource utilization

As explained in Microsoft Azure in Action

CPU utilization, or CPU usage, is the proportion of a virtual machine's processor capacity consumed during a measurement interval.

Resource utilization describes how much of a virtual machine’s processor capacity is being consumed during a measurement interval. CPU utilization is a quick health signal: sustained high usage may point to an overloaded application, a poorly optimized workload, or a need to scale. section 3.6.1

Read CPU utilization alongside other signals rather than treating one number as the whole story:

  • Compare CPU usage with disk operations, network traffic, and memory pressure to distinguish application load from storage, connectivity, or memory problems. section 3.6.1
  • Use Azure Monitor charts and dashboards to inspect current values, then review retained metrics against updates, traffic spikes, or unexpected scripts. section 3.6.1
  • Turn a worrying number into an action by alerting when CPU usage exceeds a chosen threshold or departs from its normal pattern. section 3.6.3

A practical alert

Configure a metric alert for CPU usage above 85% for 10 minutes. For a VM that normally idles near 20%, a dynamic-threshold alert could also flag an unusual rise to 60% before the fixed threshold is reached. section 3.6.3

Figure 3.33 Percentage CPU usage shown as a graph for the ActionVM in the Metrics dashboard
A screenshot of a computer

AI-generated content may be incorrect.

Inspect CPU usage as a percentage graph in the Azure Monitor Metrics dashboard. section 3.6.1

How Microsoft Azure in Action covers it

How deep it goes
Explains the metric, related signals, historical comparison, and threshold alerts, but stops short of CPU internals.
Examples
Uses percentage-CPU graphs, an 85%-for-10-minutes alert, and a dynamic alert for an unusual rise from 20% to 60%.
What it assumes
Assumes a virtual machine and basic familiarity with Azure Monitor metrics; treats CPU usage itself as a straightforward operational signal.
What you can do after
Diagnose/debug with it by correlating CPU readings with other VM metrics and configuring proactive Monitor alerts.
How it connects
Connects CPU utilization with Azure Monitor, virtual machines, metrics, dashboards, scaling, and alerts.

Also explained in

Compare how 8 books explain resource utilization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.