Chinaunix首页 | 论坛 | 博客
  • 博客访问: 93838
  • 博文数量: 30
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 305
  • 用 户 组: 普通用户
  • 注册时间: 2014-06-17 11:15
个人简介

面朝大海 春暖花开

文章分类

全部博文(30)

文章存档

2026年(3)

2025年(4)

2024年(2)

2022年(1)

2021年(6)

2016年(1)

2015年(2)

2014年(11)

我的朋友

分类: 服务器与存储

2025-04-14 16:18:04

irate(v range-vector) calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points. 
irate计算定义的时间区域内最后两个点的平均值,当最后两个点的时间间隔<=定义的时间区域时,返回的计算结果都一样,此时不管时间区域取多大,计算取的点都是相同的点。


如:监控某一进程的cpu


rate(v range-vector) calculates the per-second average rate of increase of the time series in the range vector.
rate计算指定时间范围内最后一个点和第一个点之间的平均值
取值计算方式:
(138-(100的前一个点的值))/60,以此类推



阅读(24) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~