1. 26 Mar, 2013 2 commits
  2. 25 Mar, 2013 2 commits
    • NanXiao's avatar
      Update config.c · 382420ec
      NanXiao authored
      Fix bug in configGetCommand function: get correct masterauth value.
      382420ec
    • antirez's avatar
      redis-cli --stat, stolen from redis-tools. · ec18d4bf
      antirez authored
      Redis-tools is a connection of tools no longer mantained that was
      intented as a way to economically make sense of Redis in the pre-vmware
      sponsorship era. However there was a nice redis-stat utility, this
      commit imports one of the functionalities of this tool here in redis-cli
      as it seems to be pretty useful.
      
      Usage: redis-cli --stat
      
      The output is similar to vmstat in the format, but with Redis specific
      stuff of course.
      
      From the point of view of the monitored instance, only INFO is used in
      order to grab data.
      ec18d4bf
  3. 13 Mar, 2013 3 commits
  4. 12 Mar, 2013 2 commits
  5. 11 Mar, 2013 10 commits
  6. 06 Mar, 2013 10 commits
  7. 04 Mar, 2013 2 commits
    • antirez's avatar
      redis-cli: use keepalive socket option. · df3b4920
      antirez authored
      This should improve things in two ways:
      
      1) Prevent timeouts caused by the execution of long commands.
      2) Improve detection of real connection errors.
      
      This is mostly effective only on Linux because of the bogus default
      keepalive settings. In Linux we have OS-specific calls to set the
      keepalive interval to reasonable values.
      df3b4920
    • 0x20h's avatar
      e618eb4f
  8. 27 Feb, 2013 7 commits
  9. 26 Feb, 2013 2 commits
    • antirez's avatar
    • antirez's avatar
      Set process name in ps output to make operations safer. · ac3100bc
      antirez authored
      This commit allows Redis to set a process name that includes the binding
      address and the port number in order to make operations simpler.
      
      Redis children processes doing AOF rewrites or RDB saving change the
      name into redis-aof-rewrite and redis-rdb-bgsave respectively.
      
      This in general makes harder to kill the wrong process because of an
      error and makes simpler to identify saving children.
      
      This feature was suggested by Arnaud GRANAL in the Redis Google Group,
      Arnaud also pointed me to the setproctitle.c implementation includeed in
      this commit.
      
      This feature should work on all the Linux, OSX, and all the three major
      BSD systems.
      ac3100bc