Redis – Server Config Resetstat Command

  • Post author:
  • Post category:Redis
  • Post comments:1 Comment

Redis CONFIG RESETSTAT command resets the statistics reported by Redis using the INFO command. Following counters can be reset using this command −

  • Keyspace hits
  • Keyspace misses
  • Number of commands processed
  • Number of connections received
  • Number of expired keys
  • Number of rejected connections
  • Latest fork(2) time
  • The aof_delayed_fsync counter

Return Value

String reply – Always OK.

Syntax

Following is the basic syntax of Redis CONFIG RESETSTAT command.

redis 127.0.0.1:6379> CONFIG RESETSTAT

This Post Has One Comment

Leave a Reply