What unit is used to display Redis CPU usage

2019-02-09 09:05发布

问题:

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?

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

回答1:

It is the CPU time (expressed in seconds) accumulated since the launch of the Redis instance, as reported by the getrusage() call.



标签: linux redis