Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Help Center/ Cloud Eye/ User Guide (Ankara Region)/ Services Interconnected with Cloud Eye/ Computing/ OS Monitoring Metrics Supported by ECSs with the Agent Installed

OS Monitoring Metrics Supported by ECSs with the Agent Installed

Updated on 2024-04-17 GMT+08:00

After installing the Agent on an ECS, you can view its OS monitoring metrics. Monitoring data is collected every 1 minute.

CPU, CPU load, memory, disk, disk I/O, file system, and NIC metrics can be monitored.

Table 1 CPU metrics

Metric

Metric

Metric Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

cpu_usage_idle

(Agent) Idle CPU Usage

Percentage of time that CPU is idle

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period.
  • Windows: Run the top command to check the %Cpu(s) id value.

0-100%

ECSs

1 minute

cpu_usage_other

(Agent) Other Process CPU Usage

Percentage of time that the CPU is used by other processes

Unit: Percent

  • Linux: Other Process CPU Usage = 1- Idle CPU Usage - Kernel Space CPU Usage - User Space CPU Usage
  • Windows: Other Process CPU Usage = 1- Idle CPU Usage - Kernel Space CPU Usage - User Space CPU Usage

0-100%

ECSs

1 minute

cpu_usage_system

(Agent) Kernel Space CPU Usage

Percentage of time that the CPU is used by kernel space

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period. Run the top command to check the %Cpu(s) sy value.
  • Windows: Obtain the metric value using the Windows API GetSystemTimes.

0-100%

ECSs

1 minute

cpu_usage_user

(Agent) User Space CPU Usage

Percentage of time that the CPU is used by user space

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period. Run the top command to check the %Cpu(s) us value.
  • Windows: Obtain the metric value using the Windows API GetSystemTimes.

0-100%

ECSs

1 minute

cpu_usage

(Agent) CPU Usage

CPU usage of the monitored object

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period. Run the top command to check the %Cpu(s) value.
  • Windows: Obtain the metric value using the Windows API GetSystemTimes.

0-100%

ECSs

1 minute

cpu_usage_nice

(Agent) Nice Process CPU Usage

Percentage of time that the CPU is in user mode with low-priority processes which can easily be interrupted by higher-priority processes

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period. Run the top command to check the %Cpu(s) ni value.
  • Windows is not supported.

0-100%

ECSs

1 minute

cpu_usage_iowait

(Agent) iowait Process CPU Usage

Percentage of time that the CPU is waiting for I/O operations to complete

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period. Run the top command to check the %Cpu(s) wa value.
  • Windows is not supported.

0-100%

ECSs

1 minute

cpu_usage_irq

(Agent) CPU Interrupt Time

Percentage of time that the CPU is servicing interrupts

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period. Run the top command to check the %Cpu(s) hi value.
  • Windows is not supported.

0-100%

ECSs

1 minute

cpu_usage_softirq

(Agent) CPU Software Interrupt Time

Percentage of time that the CPU is servicing software interrupts

Unit: Percent

  • Linux: Check the metric value changes in file /proc/stat in a collection period. Run the top command to check the %Cpu(s) si value.
  • Windows is not supported.

0-100%

ECSs

1 minute

Table 2 CPU load metrics

Metric

Metric

Metric Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

load_average1

(Agent) 1-Minute Load Average

CPU load averaged from the last 1 minute

Linux: Obtain the metric value from the number of logic CPUs in load1/ in file /proc/loadavg. Run the top command to check the load1 value.

≥0

ECSs

1 minute

load_average5

(Agent) 5-Minute Load Average

CPU load averaged from the last 5 minutes

Linux: Obtain the metric value from the number of logic CPUs in load5/ in file /proc/loadavg. Run the top command to check the load5 value.

≥0

ECSs

1 minute

load_average15

(Agent) 15-Minute Load Average

CPU load averaged from the last 15 minutes

Linux: Obtain the metric value from the number of logic CPUs in load15/ in file /proc/loadavg. Run the top command to check the load15 value.

≥0

ECSs

1 minute

NOTE:

The Windows OS does not support the CPU load metrics.

Table 3 Memory metrics

Metric

Metric

Metric Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

mem_available

(Agent) Available Memory

Amount of memory that is available and can be given instantly to processes

Unit: GB

  • Linux: Obtain the metric value from MemAvailable in file /proc/meminfo. If MemAvailable is not available in /proc/meminfo, it equals to MemFree+Buffers+Cached.
  • Windows: It is calculated by available memory minuses used memory. The value is obtained by calling the Windows API GlobalMemoryStatusEx.

≥ 0 GB

ECSs

1 minute

mem_usedPercent

(Agent) Memory Usage

Memory usage of the instance

Unit: Percent

  • Linux: Obtain the metric value from the /proc/meminfo file (MemTotal-MemAvailable)/MemTotal.
  • Windows: The calculation formula is as follows: Used memory size/Total memory size*100%.

0-100%

ECSs

1 minute

mem_free

(Agent) Idle Memory

Amount of memory that is not being used

Unit: GB

  • Linux: Obtain the metric value from /proc/meminfo.
  • Windows is not supported.

≥ 0 GB

ECSs

1 minute

mem_buffers

(Agent) Buffer

Amount of memory that is being used for buffers

Unit: GB

  • Linux: Obtain the metric value from /proc/meminfo. Run the top command to check the KiB Mem:buffers value.
  • Windows is not supported.

≥ 0 GB

ECSs

1 minute

mem_cached

(Agent) Cache

Amount of memory that is being used for file caches

Unit: GB

  • Linux: Obtain the metric value from /proc/meminfo. Run the top command to check the KiB Swap:cached Mem value.
  • Windows is not supported.

≥ 0 GB

ECSs

1 minute

Table 4 Disk metrics

Metric

Metric

Metric Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

mountPointPrefix_disk_free

(Agent) Available Disk Space

Free space on the disks

Unit: GB

  • Linux: Run the df -h command to check the value in the Avail column. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).
  • Windows: Use the WMI interface to call GetDiskFreeSpaceExW API to obtain disk space data. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

≥ 0 GB

ECSs

1 minute

mountPointPrefix_disk_total

(Agent) Disk Storage Capacity

Total space on the disks, including used and free

Unit: GB

  • Linux: Run the df -h command to check the value in the Size column.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, lowercase letters, uppercase letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows: Use the WMI interface to call GetDiskFreeSpaceExW API to obtain disk space data. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

≥ 0 GB

ECSs

1 minute

mountPointPrefix_disk_used

(Agent) Used Disk Space

Used space on the disks

Unit: GB

  • Linux: Run the df -h command to check the value in the Used column. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).
  • Windows: Use the WMI interface to call GetDiskFreeSpaceExW API to obtain disk space data. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

≥ 0 GB

ECSs

1 minute

mountPointPrefix_disk_usedPercent

(Agent) Disk Usage

Percentage of total disk space that is used. It is calculated as follows: Disk Usage = Used Disk Space/Disk Storage Capacity.

Unit: Percent

  • Linux: It is calculated as follows: Used/Size. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).
  • Windows: Use the WMI interface to call GetDiskFreeSpaceExW API to obtain disk space data. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

0-100%

ECSs

1 minute

Table 5 Disk I/O metrics

Metric

Metric

Metric Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

mountPointPrefix_disk_agt_read_bytes_rate

(Agent) Disks Read Rate

Volume of data read from the instance per second

Unit: byte/s

  • Linux:

    The disk read rate is calculated by calculating the data changes in the sixth column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows:
    • Use Win32_PerfFormattedData_PerfDisk_LogicalDisk object in the WMI to obtain disk I/O data.
    • The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).
    • When the CPU usage is high, monitoring data obtaining timeout may occur and result in the failure of obtaining monitoring data.

≥ 0 bytes/s

ECSs

1 minute

mountPointPrefix_disk_agt_read_requests_rate

(Agent) Disks Read Requests

Number of read requests sent to the monitored disk per second

Unit: Request/s

  • Linux:

    The disk read requests are calculated by calculating the data changes in the fourth column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows:
    • Use Win32_PerfFormattedData_PerfDisk_LogicalDisk object in the WMI to obtain disk I/O data.
    • The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).
    • When the CPU usage is high, monitoring data obtaining timeout may occur and result in the failure of obtaining monitoring data.

≥ 0 Requests/s

ECSs

1 minute

mountPointPrefix_disk_agt_write_bytes_rate

(Agent) Disks Write Rate

Volume of data written to the instance per second

Unit: byte/s

  • Linux:

    The disk write rate is calculated by calculating the data changes in the tenth column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows:
    • Use Win32_PerfFormattedData_PerfDisk_LogicalDisk object in the WMI to obtain disk I/O data.
    • The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).
    • When the CPU usage is high, monitoring data obtaining timeout may occur and result in the failure of obtaining monitoring data.

≥ 0 bytes/s

ECSs

1 minute

mountPointPrefix_disk_agt_write_requests_rate

(Agent) Disks Write Requests

Number of write requests sent to the monitored disk per second

Unit: Request/s

  • Linux:

    The disk write requests are calculated by calculating the data changes in the eighth column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows:
    • Use Win32_PerfFormattedData_PerfDisk_LogicalDisk object in the WMI to obtain disk I/O data.
    • The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).
    • When the CPU usage is high, monitoring data obtaining timeout may occur and result in the failure of obtaining monitoring data.

≥ 0 Requests/s

ECSs

1 minute

disk_readTime

(Agent) Average Read Request Time

Average amount of time that read requests have waited on the disks

Unit: ms/count

  • Linux:

    The average read request time is calculated by calculating the data changes in the seventh column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows is not supported.

≥ 0 ms/count

ECSs

1 minute

disk_writeTime

(Agent) Average Write Request Time

Average amount of time that write requests have waited on the disks

Unit: ms/count

  • Linux:

    The average write request time is calculated by calculating the data changes in the eleventh column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows is not supported.

≥ 0 ms/count

ECSs

1 minute

disk_ioUtils

(Agent) Disk I/O Usage

Percentage of the time that the disk has had I/O requests queued to the total disk operation time

Unit: Percent

  • Linux:

    The disk I/O usage is calculated by calculating the data changes in the thirteenth column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows is not supported.

0-100%

ECSs

1 minute

disk_queue_length

(Agent) Disk Queue Length

Average number of read or write requests queued up for completion for the monitored disk in the monitoring period

Unit: Count

  • Linux:

    The average disk queue length is calculated by calculating the data changes in the fourteenth column of the corresponding device in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows is not supported.

≥ 0 Counts

ECSs

1 minute

disk_write_bytes_per_operation

(Agent) Average Disk Write Size

Average number of bytes in an I/O write for the monitored disk in the monitoring period

Unit: ms/op

  • Linux:

    The average disk write size is calculated by calculating the data changes in the tenth column of the corresponding device to divide that of the eighth column in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows is not supported.

≥ 0 ms/op

ECSs

1 minute

disk_read_bytes_per_operation

(Agent) Average Disk Read Size

Average number of bytes in an I/O read for the monitored disk in the monitoring period

Unit: KB/op

  • Linux:

    The average disk read size is calculated by using the data changes in the sixth column of the corresponding device to divide that of the fourth column in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows is not supported.

≥ 0 KB/op

ECSs

1 minute

disk_io_svctm

(Agent) Disk I/O Service Time

Average time in an I/O read or write for the monitored disk in the monitoring period

Unit: ms/op

  • Linux:

    The average disk I/O service time is calculated by using the data changes in the thirteenth column of the corresponding device to divide the sum of data changes in the fourth and eighth columns in file /proc/diskstats in a collection period.

    The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

  • Windows is not supported.

≥ 0 ms/op

ECSs

1 minute

Table 6 File system metrics

Metric

Metric

Metric Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

disk_fs_rwstate

(Agent) File System Read/Write Status

Read and write status of the mounted file system of the monitored object Possible statuses are 0 (read and write) and 1 (read only).

Linux: Check file system information in the fourth column in file /proc/mounts.

0,1

ECSs

1 minute

disk_inodesTotal

(Agent) Disk inode Total

Total number of index nodes on the disk

Linux: Run the df -i command to check the value in the Inodes column. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

≥ 0

ECSs

1 minute

disk_inodesUsed

(Agent) Total inode Used

Number of used index nodes on the disk

Linux: Run the df -i command to check the value in the IUsed column. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

≥ 0

ECSs

1 minute

disk_inodesUsedPercent

(Agent) Percentage of Total inode Used

Number of used index nodes on the disk

Unit: Percent

Linux: Run the df -i command to check the value in the IUse% column. The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

0-100%

ECSs

1 minute

NOTE:

The Windows OS does not support the file system metrics.

Table 7 NIC metrics

Metric

Metric

Metric Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

net_bitRecv

(Agent) Outbound Bandwidth

Number of bits received by this NIC per second

Unit: bit/s

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows: Use the MibIfRow object in the WMI to obtain network metric data.

≥ 0 bits/s

ECSs

1 minute

net_bitSent

(Agent) Inbound Bandwidth

Number of bits sent by this NIC per second

Unit: bit/s

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows: Use the MibIfRow object in the WMI to obtain network metric data.

≥ 0 bits/s

ECSs

1 minute

net_packetRecv

(Agent) NIC Packet Receive Rate

Number of packets received by this NIC per second

Unit: Count/s

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows: Use the MibIfRow object in the WMI to obtain network metric data.

≥ 0 counts/s

ECSs

1 minute

net_packetSent

(Agent) NIC Packet Send Rate

Number of packets sent by this NIC per second

Unit: Count/s

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows: Use the MibIfRow object in the WMI to obtain network metric data.

≥ 0 counts/s

ECSs

1 minute

net_tcp_total

(Agent) TCP TOTAL

Total number of TCP connections of the target NIC

≥0

ECSs

1 minute

net_tcp_established

(Agent) Number of ESTABLISHED TCP connections

Number of ESTABLISHED TCP connections of the target NIC

≥0

ECSs

1 minute

net_errin

(Agent) Receive Error Rate

Percentage of receive errors detected by this NIC per second

Unit: Percent

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows is not supported.

0-100%

ECSs

1 minute

net_errout

(Agent) Transmit Error Rate

Percentage of transmit errors detected by this NIC per second

Unit: Percent

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows is not supported.

0-100%

ECSs

1 minute

net_dropin

(Agent) Received Packet Drop Rate

Percentage of packets received by this NIC which were dropped per second

Unit: Percent

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows is not supported.

0-100%

ECSs

1 minute

net_dropout

(Agent) Transmitted Packet Drop Rate

Percentage of packets transmitted by this NIC which were dropped per second

Unit: Percent

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows is not supported.

0-100%

ECSs

1 minute

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback