Redis Server: CLUSTER SLOTS
Redis CLUSTER SLOTS Command
Redis CLUSTER SLOTS returns array reply of current cluster state.
Syntax:
CLUSTER SLOTS
Available since
1.0.0.
Return Value
Array reply: nested list of slot ranges with IP/Port mappings.
Return Value Type
Integer
Example: Redis CLUSTER SLOTS
127.0.0.1:6379> cluster slots
1) 1) (integer) 3548
2) (integer) 3548
3) 1) ""
2) (integer) 6379
3) "8bcd89fd201bf503444c5df4931f01b2264cc0bf"
127.0.0.1:6379>
Previous:
CLIENT SETNAME
Next:
COMMAND
