普罗米修斯监控马哥亲自讲解
------------恢复内容开始------------
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
------------恢复内容结束------------
------------恢复内容开始------------
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
------------恢复内容结束------------
------------恢复内容开始------------
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
------------恢复内容结束------------
------------恢复内容开始------------
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
------------恢复内容结束------------
------------恢复内容开始------------
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
https://www.bilibili.com/video/BV1PT4y1P7bX?from=search&seid=16513120872534687798
1个主机有4核,如何求出这个主机的平均cpu的值
第一求出改主机4核当前的空闲值 rate(node_cpu_user{mode=idel})[5m]
接下来对4核的空闲值求出平均,把4核的值加起来求平均,就是当前实例cpu使用的平均值
avg(rate(node_cpu_user{mode=idel})[5m])by(instance)
posted on 2021-07-22 23:03 luzhouxiaoshuai 阅读(198) 评论(0) 编辑 收藏 举报