Navigation
This version of the manual is no longer supported.

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:

{ replSetGetStatus: 1 }

However, you can also run this command from the shell like so:

rs.status()