Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What unit is used to display Redis CPU usage

Tags:

linux

redis

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?

like image 885
JohnG Avatar asked Dec 19 '13 11:12

JohnG


1 Answers

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

like image 166
Didier Spezia Avatar answered Oct 11 '22 01:10

Didier Spezia