Redis CPU使用率用什么单位显示 [英] What unit is used to display Redis CPU usage

查看:31
本文介绍了Redis CPU使用率用什么单位显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Redis CLI 中运行命令 INFO CPU 并得到如下所示的输出:

I ran the command INFO CPU in the Redis CLI and got the output shown below:

used_cpu_sys:4785.73
used_cpu_user:4843.73
used_cpu_sys_children:0.00
used_cpu_user_children:0.00

我的问题是:这些数字使用的单位是什么?

My question is: what is the unit used for these figures?

是 CPU 时间、CPU 消耗还是其他什么?

Is it CPU time, or CPU consumption or something else?

推荐答案

getrusage() 调用.

这篇关于Redis CPU使用率用什么单位显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆