没有不值得去解决的问题,也没有不值得去学习的技术!

Install the Cloud Monitor Plugin on Alibaba Cloud ECS to Check Disk Usage and Determine Whether to Expand Storage

After waiting a few minutes, you can view the cloud disk usage rate / Inode usage rate. Click to view more metrics and check the disk monitoring metrics. /dev/vda1 is the system disk, and /dev/vdb1 is the data disk. The (Agent)disk.usage.used_device—Average under Disk usage (bytes) indicates the average disk usage. /dev/vda1 has already used 11 GB. /dev/vdb1 has already used 17 GB

1. When viewing monitoring data in Alibaba Cloud ECS, some charts display no data until you install the monitoring plugin. See Figure 1.

Viewing monitoring data in Alibaba Cloud ECS, some charts display no data until you install the monitoring plugin
Figure 1

2. Click to install the plugin and install the Cloud Monitor plugin. The installation process takes 1-2 minutes; please check back later. See Figure 2.

Click to install the plugin and install the Cloud Monitor plugin, the installation process takes 1-2 minutes, please check back later
Figure 2

3. After waiting a few minutes, you can view the cloud disk usage rate / Inode usage rate. Click to view more metrics and check the disk monitoring metrics. /dev/vda1 is the system disk, and /dev/vdb1 is the data disk. The (Agent)disk.usage.used_device—Average under Disk usage (bytes) indicates the average disk usage. /dev/vda1 has already used 11 GB. /dev/vdb1 has already used 17 GB. See Figure 3.

After waiting a few minutes, you can view the cloud disk usage rate / Inode usage rate. Click to view more metrics and check the disk monitoring metrics. /dev/vda1 is the system disk, and /dev/vdb1 is the data disk. The (Agent)disk.usage.used_device—Average under Disk usage (bytes) indicates the average disk usage. /dev/vda1 has already used 11 GB. /dev/vdb1 has already used 17 GB
Figure 3

4. Viewing the cloud disk details in Alibaba Cloud ECS, /dev/vda1 is the system disk, an SSD cloud disk with a size of 20 GB. /dev/vdb1 is the data disk, a standard cloud disk with a size of 40 GB. From this, the disk usage rates are calculated as: 11 GB / 20 GB = 55%, and 17 GB / 40 GB = 43%. There is no need to expand capacity for now. See Figure 4.

Viewing the cloud disk details in Alibaba Cloud ECS, /dev/vda1 is the system disk, an SSD cloud disk with a size of 20 GB. /dev/vdb1 is the data disk, a standard cloud disk with a size of 40 GB. From this, the disk usage rates are calculated as: 11 GB / 20 GB = 55%, and 17 GB / 40 GB = 43%. There is no need to expand capacity for now
Figure 4

关于作者 · 持续学习与技术实践

我是一名拥有 15 年以上开发经验的技术从业者,自 2013 年起持续运营个人技术博客,记录工作与个人项目中遇到的真实问题,以及解决问题过程中的探索、实践和思考。

除了技术写作,我也在持续开发和维护自己的独立项目,探索新技术和新工具在实际场景中的应用。我始终相信,没有不值得去解决的问题,也没有不值得去学习的技术。

如果这篇文章对你有所帮助,欢迎浏览博客中的其他文章,也欢迎交流技术经验与想法。

关于我  ·  GitHub  ·  邮件联系