Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to understand REDIS Monitor command

Tags:

redis

monitor

I'm trying to understand MONITOR command that is available in Redis and how can I use effectively to determine the load of my application. What I don't understand is how do I read the information that is being shown on the CLI. Like, I know that the number before the IP Address is the 'DB Index' but what can I infer from that number?

Example that is available on MONITOR is:.

$ redis-cli monitor
1339518083.107412 [0 127.0.0.1:60866] "keys" "*"
1339518087.877697 [0 127.0.0.1:60866] "dbsize"
1339518090.420270 [0 127.0.0.1:60866] "set" "x" "6"
1339518096.506257 [0 127.0.0.1:60866] "get" "x"
1339518099.363765 [0 127.0.0.1:60866] "del" "x"
1339518100.544926 [0 127.0.0.1:60866] "get" "x"

I'm unable to understand the significance of '1339518083.107412'.

like image 759
user95025 Avatar asked Dec 09 '14 03:12

user95025


1 Answers

The first part is the timestamp in the form seconds.microseconds.

like image 108
Barış Uşaklı Avatar answered Sep 29 '22 09:09

Barış Uşaklı