CLUSTER REPLICAS
Since 1.1.0Cluster
Syntax
CLUSTER REPLICAS master-idReturns the replicas of the master master-id, each as a CLUSTER NODES line.
The reply is an array, one string a replica, and an empty array for a master without replicas. CLUSTER SLAVES is the same. Before 1.2, both replied with one string, the lines joined by newlines.
Examples
> CLUSTER REPLICAS 5c41f1bfc4f9d9f6d69358bb34269e9f98279c72
1) "60f37104e07b4024b37f335d52188a29cecf46dd 127.0.0.1:7311@17311 slave 5c41f1bfc4f9d9f6d69358bb34269e9f98279c72 1793114623408 1793114623413 2 connected"