How do I Monitor my Azure VM CPU utilization?


Azure virtual machines are monitored based on the parameters or the attributes listed below. These attributes provide information about the functioning of Azure Virtual machines. Using Applications Manager's Azure monitoring tool, you can also configure thresholds to the numerical attributes based on these details and get notified when the thresholds are violated. Learn more about Applications Manager's Virtual machine monitoring tool.

Monitored Parameters

Prerequisites for monitoring Azure VM metrics: Click here

Go to the Monitors Category View by clicking the Monitors tab. Click on  Azure Virtual Machines under the Cloud Apps section. Displayed is the  Azure Virtual Machine bulk configuration view distributed into three tabs:

  • Availability tab gives the Availability history for the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations.

Click on the monitor name to see all the server details listed under the following tabs:

Note:

  • Data collection for the following metrics is done via the following methods:
    Metrics to be monitoredData collection methodRequired Privileges
    Azure monitor Via Azure APIs ---
    Diagnostic Extension Via Storage Table APIs Diagnostic Extension should be enabled for the virtual machine. (Windows and Linux)
    Guest OS Via PowerShell scripts PowerShell remoting should be enabled.
  • Guest OS metrics will be available only for Windows installations of Applications Manager for Windows VMs alone.

Windows Virtual Machines - Monitored Metrics

  • Monitor Information
  • Overview
  • CPU
  • Memory
  • Disk
  • Network
  • Threads & Processes
  • Services
  • Configuration

Linux Virtual Machines - Monitored Metrics

  • Overview
  • CPU
  • Memory
  • Disk
  • Configuration

Windows Virtual Machines - Monitored Metrics

Monitor Information

ParameterDescription
Name Display name of the Virtual machine
Subscription ID Subscription ID of the Azure subscription which contains this VM
Virtual Machine name Name of the Virtual machine
Virtual Machine Resource ID Resource ID of the Virtual machine
Enable Guest OS monitoring Indicates whether Guest OS monitoring is enabled for the monitor.
Username VM's username
Timeout Timeout Duration (seconds)
Associated groups The monitor groups to which this monitor is associated
Last polled at Specifies the time at which the last poll was performed
Next poll at Specifies the time at which the next poll is scheduled

Overview

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

CPU UTILIZATION
CPU Utilization Amount of CPU utilized by the virtual machine (in %).
How do I Monitor my Azure VM CPU utilization?
   
MEMORY UTILIZATION
Memory Utilization Amount of memory utilized by the virtual machine (in %).  
How do I Monitor my Azure VM CPU utilization?
 
CPU CREDITS (Applicable only for B-series virtual machines)
CPU Credits Consumed Number of credits consumed by the virtual machine
How do I Monitor my Azure VM CPU utilization?
   
CPU Credits Remaining Remaining number of credits available for the virtual machine.
How do I Monitor my Azure VM CPU utilization?
   

CPU

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

PROCESSOR METRICS
Privileged Time Amount of time for which the processor was running in privileged mode (in %).  
How do I Monitor my Azure VM CPU utilization?
 
User Time Amount of time for which the processor was running in user mode (in %).  
How do I Monitor my Azure VM CPU utilization?
 
Processor Frequency Number of times the processor is in running state.  
How do I Monitor my Azure VM CPU utilization?
 

Memory

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

MEMORY (COMMITTED vs AVAILABLE)
Committed Bytes Amount of commited Virtual Memory (in MB).  
How do I Monitor my Azure VM CPU utilization?
 
Available Bytes Amount of available Physical Memory (in MB).  
How do I Monitor my Azure VM CPU utilization?
 
Committed Bytes In Use Ratio of Committed Bytes to the Commit Limit (in percentage).  
How do I Monitor my Azure VM CPU utilization?
 
POOL (PAGED vs NONPAGED)
Pool Paged Bytes Size of the paged pool (in MB).  
How do I Monitor my Azure VM CPU utilization?
 
Pool Nonpaged Bytes Size of physical memory that cannot be written to disk though it is not in use (in MB).  
How do I Monitor my Azure VM CPU utilization?
 
MEMORY FAULTS
Page Faults/sec Number of page faults per second.  
How do I Monitor my Azure VM CPU utilization?
 

Disk

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

READ THROUGHPUT
OS Disk Read Throughput Amount of data read from OS disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
Data Disk Read Throughput Amount of data read from data disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
WRITE THROUGHPUT
OS Disk Write Throughput Amount of data written to OS disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
Data Disk Write Throughput Amount of data written to data disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
DISK I/O OPS
Disk Read Ops Number of disk read IOPS (in Ops/sec).
How do I Monitor my Azure VM CPU utilization?
   
Disk Write Ops Number of disk write IOPS (in Ops/sec).
How do I Monitor my Azure VM CPU utilization?
   
DISK UTILIZATION
Disk Disk Partition    
How do I Monitor my Azure VM CPU utilization?
Disk Usage Disk Free space & Used space    
How do I Monitor my Azure VM CPU utilization?
Total Size (MB) Total disk size    
How do I Monitor my Azure VM CPU utilization?
Used (%) Used disk space as percentage    
How do I Monitor my Azure VM CPU utilization?
Used (MB) Used disk space    
How do I Monitor my Azure VM CPU utilization?
Free (%) Free disk space as percentage    
How do I Monitor my Azure VM CPU utilization?
Free (MB) Free disk space    
How do I Monitor my Azure VM CPU utilization?
DISK IO STATISTICS
Disk Disk partition    
How do I Monitor my Azure VM CPU utilization?
Transfers/Sec The number of read/write operations on the disk that occur each second    
How do I Monitor my Azure VM CPU utilization?
Writes/sec The percentage of elapsed time that the disk drive was busy servicing write requests    
How do I Monitor my Azure VM CPU utilization?
Reads/Sec The percentage of elapsed time that the disk drive was busy servicing read requests    
How do I Monitor my Azure VM CPU utilization?
% Busy Time The percentage of time the disk was busy    
How do I Monitor my Azure VM CPU utilization?
Average queue length The average number of both read and write requests that were queued for the disk during the sample interval    
How do I Monitor my Azure VM CPU utilization?
DISK SPACING
Disk Name Name of the hard disk
Disk Size Total size of the disk

Network

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

NETWORK TRAFFIC
Incoming Traffic Amount of data received on all network interfaces by the virtual machine (in kB/min).
How do I Monitor my Azure VM CPU utilization?
   
Outgoing Traffic Amount of data transmitted from all network interfaces by the virtual machine (in kB/min).
How do I Monitor my Azure VM CPU utilization?
   
NETWORK INTERFACE
Network Interface The name of the network interface    
How do I Monitor my Azure VM CPU utilization?
Speed (MB/s) The estimate of the current bandwidth in MB/s    
How do I Monitor my Azure VM CPU utilization?
Input traffic (kB/s) The rate at which packets are received on the interface, in kilo bytes per second.    
How do I Monitor my Azure VM CPU utilization?
Input Utilization (%) Input traffic percentage    
How do I Monitor my Azure VM CPU utilization?
Output traffic (kB/s) The rate at which packets are sent on the interface, in kilo bytes per second.    
How do I Monitor my Azure VM CPU utilization?
Output Utilization (%) Output traffic percentage    
How do I Monitor my Azure VM CPU utilization?
Inbound Errors Number of packets that could not be received    
How do I Monitor my Azure VM CPU utilization?
Outbound Errors Number of packets that could not be sent    
How do I Monitor my Azure VM CPU utilization?

Threads & Processes

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

THREAD STATS
Thread Count The total number of threads.  
How do I Monitor my Azure VM CPU utilization?
 
Context switches/sec The total number of context switches per second.  
How do I Monitor my Azure VM CPU utilization?
 
PROCESS STATS
Process count The total number of processes.  
How do I Monitor my Azure VM CPU utilization?
 
HANDLES
Handle count The total number of handles  
How do I Monitor my Azure VM CPU utilization?
 

Services

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

Service Details
Service Name Name of the service.    
How do I Monitor my Azure VM CPU utilization?
Display Name Display name of the service set by the user.    
How do I Monitor my Azure VM CPU utilization?
Status Status of the service. (Running, Paused, Stopped, StartPending, PausePending, ContinuePending, or StopPending)    
How do I Monitor my Azure VM CPU utilization?
Start Mode Indicates the mode with which the service was started. (Auto or Manual)    
How do I Monitor my Azure VM CPU utilization?

You can also add a new service by clicking over the 'Add New Service' link.

Configuration

ParameterDescription
SYSTEM INFORMATION
Resource Name Complete resource name of the virtual machine.
Resource ID Virtual machine resource ID
Status State of the VM
Resource Group Name The resource group which has this VM
VM Size Size of the VM
Location Location at which the VM is set up
Computer Name Name of the virtual machine.
Public IP Address Public IP of the VM
Private IP Address Private IP of the VM
OS INFORMATION
OS Type VM's Operating system
VM Image VM server configuration
NETWORK INTERFACE
Virtual Network ID The ID of the virtual network
Network Interface Name The name of the network interface
Network Interface ID The ID of the network interface
MAC Address MAC address of the network
Network security group ID Network security group of the network interface

Linux Virtual Machines - Monitored Metrics

The below mentioned metrics are monitored for Linux VM:

Overview

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

CPU UTILIZATION
CPU Utilization Amount of CPU utilized by the virtual machine (in %).
How do I Monitor my Azure VM CPU utilization?
   
CPU CREDITS (Applicable only for B-series virtual machines)
CPU Credits Consumed Number of credits consumed by the virtual machine
How do I Monitor my Azure VM CPU utilization?
   
CPU Credits Remaining Remaining number of credits available for the virtual machine.
How do I Monitor my Azure VM CPU utilization?
   

CPU

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

CPU METRICS
IO Wait Time (%) Percentage of time that the processor is waiting (i.e. is in an idle state and does nothing), during which there in fact was outstanding disk I/O requests.  
How do I Monitor my Azure VM CPU utilization?
 
Idle Time (%) Percentage of time that the processor was idle  
How do I Monitor my Azure VM CPU utilization?
 
Processor Time(Linux) (%) Percentage of time that the processor was used for processing instructions of a computer program or operating system  
How do I Monitor my Azure VM CPU utilization?
 

Memory

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

MEMORY DETAILS
Available Memory The amount of memory available (in GB).  
How do I Monitor my Azure VM CPU utilization?
 
Used Memory The amount of memory used (in GB).  
How do I Monitor my Azure VM CPU utilization?
 
Available Memory % Percentage of memory available to the total memory  
How do I Monitor my Azure VM CPU utilization?
 
Used Swap Memory % Percentage of used swap memory to the total swap memory  
How do I Monitor my Azure VM CPU utilization?
 

Disk

ParameterDescription

Data Collection Method

Azure Monitor

Diagnostic Agent

Guest OS

READ THROUGHPUT
OS Disk Read Throughput Amount of data read from OS disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
Data Disk Read Throughput Amount of data read from data disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
WRITE THROUGHPUT
OS Disk Write Throughput Amount of data written to OS disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
Data Disk Write Throughput Amount of data written to data disk during monitoring period (in kB/s).
How do I Monitor my Azure VM CPU utilization?
   
DISK I/O OPS
Disk Read Ops Number of disk read IOPS (in Ops/sec).
How do I Monitor my Azure VM CPU utilization?
   
Disk Write Ops Number of disk write IOPS (in Ops/sec).
How do I Monitor my Azure VM CPU utilization?
   
DISK IO LATENCY
Average Read Time Average time taken for a read operation  
How do I Monitor my Azure VM CPU utilization?
 
Average Write time Average time taken for a write operation  
How do I Monitor my Azure VM CPU utilization?
 
DISK SPACING
Disk Name Name of the hard disk
Disk Size Total size of the disk

Configuration

Configuration Table lists Virtual machine details like Status, Location, IP, Network interface, MAC address and Network Security Group.

ParameterDescription
SYSTEM INFORMATION
Resource Name Complete resource name of the virtual machine.
Resource ID Virtual machine resource ID
Status State of the VM
Resource Group Name The resource group which has this VM
VM Size Size of the VM
Location Location at which the VM is set up
Computer Name Name of the virtual machine.
Public IP Address Public IP of the VM
Private IP Address Private IP of the VM
OS INFORMATION
OS Type VM's Operating system
VM Image VM server configuration
NETWORK INTERFACE
Virtual Network ID The ID of the virtual network
Network Interface Name The name of the network interface
Network Interface ID The ID of the network interface
MAC Address MAC address of the network
Network security group ID Network security group of the network interface

How do I check my Azure VM CPU utilization?

View Utilization of an Azure VM Log in to the Azure portal and select Virtual Machines. Select a virtual machine from the list of VMs to view its usage. In the Monitoring section, select Insights.

How do I get a VM utilization report in Azure?

To view the resource utilization by individual VM in a list view and see which machine is trending with highest utilization, select the Top N List tab..
In the Azure portal, select Monitor..
Choose Virtual Machines in the Solutions section..
Select the Performance tab..

How do I check Azure utilization?

Check usage in the Azure portal.
Sign in to the Azure portal..
Search for Subscriptions..
Select the subscription that was created when you signed up for your Azure free account..
The page shows your free service usage..

How do I Monitor my Azure virtual machine?

To monitor the health and performance of an Azure virtual machine, you need to install an agent to collect data from its guest operating system. VM insights monitors the guest operating system and workloads running on Azure virtual machines.