1. 11 Dec, 2014 2 commits
  2. 09 Dec, 2014 1 commit
  3. 25 Nov, 2014 1 commit
  4. 30 Oct, 2014 1 commit
  5. 29 Oct, 2014 1 commit
  6. 26 Aug, 2014 9 commits
  7. 18 Jul, 2014 2 commits
  8. 26 Jun, 2014 1 commit
  9. 21 Jun, 2014 2 commits
  10. 06 Jun, 2014 1 commit
  11. 13 Mar, 2014 1 commit
  12. 05 Mar, 2014 1 commit
    • michael-grunder's avatar
      Improved bigkeys with progress, pipelining and summary · 23addbb5
      michael-grunder authored
      This commit reworks the redis-cli --bigkeys command to provide more
      information about our progress as well as output summary information
      when we're done.
      
       - We now show an approximate percentage completion as we go
       - Hiredis pipelining is used for TYPE and SIZE retreival
       - A summary of keyspace distribution and overall breakout at the end
      23addbb5
  13. 25 Feb, 2014 7 commits
  14. 22 Jan, 2014 2 commits
  15. 26 Sep, 2013 1 commit
  16. 04 Sep, 2013 1 commit
  17. 11 Jul, 2013 1 commit
  18. 03 Jul, 2013 2 commits
    • antirez's avatar
      redis-cli: introduced --pipe-timeout. · 1135e9fa
      antirez authored
      When in --pipe mode, after all the data transfer to the server is
      complete, now redis-cli waits at max the specified amount of
      seconds (30 by default, use 0 to wait forever) without receiving any
      reply at all from the server. After this time limit the operation is
      aborted with an error.
      
      That's related to issue #681.
      1135e9fa
    • antirez's avatar
      redis-cli --pipe: send final ECHO in a safer way. · fbb97c6b
      antirez authored
      If the protocol read from stdin happened to contain grabage (invalid
      random chars), in the previous implementation it was possible to end
      with something like:
      
      dksfjdksjflskfjl*2\r\n$4\r\nECHO....
      
      That is invalid as the *2 should start into a new line. Now we prefix
      the ECHO with a CRLF that has no effects on the server but prevents this
      issues most of the times.
      
      Of course if the offending wrong sequence is something like:
      
      $3248772349\r\n
      
      No one is going to save us as Redis will wait for data in the context of
      a big argument, so this fix does not cover all the cases.
      
      This partially fixes issue #681.
      fbb97c6b
  19. 11 Apr, 2013 2 commits
    • antirez's avatar
      redis-cli: raise error on bad command line switch. · f8ae70cf
      antirez authored
      Previously redis-cli never tried to raise an error when an unrecognized
      switch was encountered, as everything after the initial options is to be
      transmitted to the server.
      
      However this is too liberal, as there are no commands starting with "-".
      So the new behavior is to produce an error if there is an unrecognized
      switch starting with "-". This should not break past redis-cli usages
      but should prevent broken options to be silently discarded.
      
      As far the first token not starting with "-" is encountered, all the
      rest is considered to be part of the command, so you cna still use
      strings starting with "-" as values, like in:
      
          redis-cli --port 6380 set foo --my-value
      f8ae70cf
    • antirez's avatar
      redis-cli: --latency-history mode implemented. · 0280c2f2
      antirez authored
      0280c2f2
  20. 22 Mar, 2013 1 commit
    • antirez's avatar
      redis-cli --stat, stolen from redis-tools. · 09aa55a3
      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.
      09aa55a3