diff --git a/source/core/master-slave.txt b/source/core/master-slave.txt index d88a2fe8e38..0c3c53dbbb8 100644 --- a/source/core/master-slave.txt +++ b/source/core/master-slave.txt @@ -144,7 +144,7 @@ perspective of the master: .. code-block:: javascript - rs.printReplicationInfo() + db.printReplicationInfo() On a :term:`slave` instance, use the following operation in the :program:`mongo` shell to return the replication status from the @@ -152,7 +152,7 @@ perspective of the slave: .. code-block:: javascript - rs.printSlaveReplicationInfo() + db.printSlaveReplicationInfo() Use the :dbcommand:`serverStatus` as in the following operation, to return status of the replication: