- Reference >
- Database Commands >
- replSetGetStatus
replSetGetStatus¶
-
replSetGetStatus
¶ The
replSetGetStatus
command returns the status of the replica set from the point of view of the current server. You must run the command against the admin database. The command has the following prototype format:However, you can also run this command from the shell like so:
See also
“Replica Set Status Reference” and “Replica Set Fundamental Concepts”