首页 > 代码库 > redis-cli -h xxxxx -p xxxx monitor 监控host为xxxx,端口为xxx,redis连接及读写操作

redis-cli -h xxxxx -p xxxx monitor 监控host为xxxx,端口为xxx,redis连接及读写操作

 

# redis-cli -p 6379 monitor
OK
1480831181.421055 [0 127.0.0.1:60457] "evalsha" "3236c446d3b876265fe40ac665cb6dc17e6242b0" "1" "key_count_test_jam" "124"
1480831181.421135 [0 lua] "lrange" "key_count_test_jok" "0" "124"
1480831181.421189 [0 lua] "ltrim" "key_count_test_jok" "125" "-1"

 

redis-cli -h xxxxx -p xxxx monitor 监控host为xxxx,端口为xxx,redis连接及读写操作