redis超时排查

http://redisbook.com/preview/slowlog/content.html

    1. (integer) 4 # 日志的唯一标识符(uid)
    2. (integer) 1378781447 # 命令执行时的 UNIX 时间戳
    3. (integer) 180667 # 命令执行的时长,以微秒计算

1秒=1000毫秒 180667 就是180S

Unix时间戳转换,可以算出真实执行时间

date "+%Y-%m-%d %H:%M:%S" -d @1378781447

posted on 2021-06-11 09:36  一二三·  阅读(70)  评论(0编辑  收藏  举报

导航