## OPTIONS
[--reset]
: Reset Redis stats. Only affects lifetime_hitrate currently.
[--field=]
: Get the value of a particular field.
[--format=]
: Render results in a particular format.
---
default: table
options:
- table
- json
- yaml
---
## EXAMPLES
$ wp redis info
+-------------------+-----------+
| Field | Value |
+-------------------+-----------+
| status | connected |
| used_memory | 529.25K |
| uptime | 0 days |
| key_count | 20 |
| instantaneous_ops | 9/sec |
| lifetime_hitrate | 53.42% |
| redis_host | 127.0.0.1 |
| redis_port | 6379 |
| redis_auth | |
| redis_database | 0 |
+-------------------+-----------+
$ wp redis info --field=used_memory
529.38K
$ wp redis info --reset
Success: Redis stats reset.