- Reference >
- mongo Shell Methods >
- Replication Methods >
- rs.status()
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 command. See the documentation of the command for a complete description of the output.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.