- Redis Basics
- Redis - Home
- Redis - Overview
- Redis - Environment
- Redis - Configuration
- Redis - Data types
- Redis Commands
- Redis - Commands
- Redis - Keys
- Redis - Strings
- Redis - Hashes
- Redis - Lists
- Redis - Sets
- Redis - Sorted Sets
- Redis - HyperLogLog
- Redis - Publish Subscribe
- Redis - Transactions
- Redis - Scripting
- Redis - Connections
- Redis - Server
- Redis Advanced
- Redis - Backup
- Redis - Security
- Redis - Benchmarks
- Redis - Client Connection
- Redis - Pipelining
- Redis - Partitioning
- Redis - Java
- Redis - Php
- Redis Useful Resources
- Redis - Quick Guide
- Redis - Useful Resources
- Redis - Discussion
Redis - Server Config Resetstat Command
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
redis_server.htm
Advertisements
To Continue Learning Please Login
Login with Google