Navigation
This version of the documentation is archived and no longer supported.

rs.status()

rs.status()
Returns:A document with status information.

This output reflects the current status of the replica set, using data derived from the heartbeat packets sent by the other members of the replica set.

This method provides a wrapper around the replSetGetStatus database command.

See also

Replica Set Status Reference” for documentation of this output.

←   rs.remove() rs.stepDown()  →