diff --git a/source/reference/command/serverStatus.txt b/source/reference/command/serverStatus.txt index 5ae4c5ec68e..67d3c46e4c1 100644 --- a/source/reference/command/serverStatus.txt +++ b/source/reference/command/serverStatus.txt @@ -63,7 +63,9 @@ your database. Instance Information ~~~~~~~~~~~~~~~~~~~~ -.. example:: :ref:`output of the instance information fields `. +For an example of the instance information, see the :ref:`Instance +Information section ` of +the :doc:`/reference/server-status` page. .. data:: serverStatus.host @@ -110,7 +112,9 @@ locks All :data:`~serverStatus.locks` statuses first appeared in the 2.1.2 development release for the 2.2 series. -.. example:: :ref:`output of the locks fields `. +For an example of the ``locks`` output, see the :ref:`locks section +` of the :doc:`/reference/server-status` +page. .. data:: serverStatus.locks @@ -304,7 +308,9 @@ locks globalLock ~~~~~~~~~~ -.. example:: :ref:`output of the globalLock fields `. +For an example of the ``globalLock`` output, see the :ref:`globalLock +section ` of the +:doc:`/reference/server-status` page. .. data:: serverStatus.globalLock @@ -417,7 +423,9 @@ globalLock.activeClients mem ~~~ -.. example:: :ref:`output of the memory fields `. +For an example of the ``mem`` output, see the :ref:`mem section +` of the :doc:`/reference/server-status` +page. .. data:: serverStatus.mem @@ -478,7 +486,9 @@ mem connections ~~~~~~~~~~~ -.. example:: :ref:`output of the connections fields `. +For an example of the ``connections`` output, see the :ref:`connections +section ` of the +:doc:`/reference/server-status` page. .. data:: serverStatus.connections @@ -521,7 +531,9 @@ connections extra_info ~~~~~~~~~~ -.. example:: :ref:`output of the extra_info fields `. +For an example of the ``extra_info`` output, see the :ref:`extra_info +section ` of the +:doc:`/reference/server-status` page. .. data:: serverStatus.extra_info @@ -559,7 +571,9 @@ extra_info indexCounters ~~~~~~~~~~~~~ -.. example:: :ref:`output of the indexCounters fields `. +For an example of the ``indexCounters`` output, see the +:ref:`indexCounters section ` of +the :doc:`/reference/server-status` page. .. data:: serverStatus.indexCounters @@ -629,7 +643,10 @@ indexCounters backgroundFlushing ~~~~~~~~~~~~~~~~~~ -.. example:: :ref:`output of the backgroundFlushing fields `. +For an example of the ``backgroundFlushing`` output, see the +:ref:`backgroundFlushing section +` of the +:doc:`/reference/server-status` page. .. data:: serverStatus.backgroundFlushing @@ -692,7 +709,9 @@ backgroundFlushing cursors ~~~~~~~ -.. example:: :ref:`output of the cursors ` fields. +For an example of the ``cursors`` output, see the :ref:`cursors section +` of the :doc:`/reference/server-status` +page. .. data:: serverStatus.cursors @@ -724,7 +743,9 @@ cursors network ~~~~~~~ -.. example:: :ref:`output of the network fields `. +For an example of the ``network`` output, see the :ref:`network section +` of the :doc:`/reference/server-status` +page. .. data:: serverStatus.network @@ -760,7 +781,9 @@ network repl ~~~~ -.. example:: :ref:`output of the repl fields `. +For an example of the ``repl`` output, see the :ref:`repl section +` of the :doc:`/reference/server-status` +page. .. data:: serverStatus.repl @@ -810,7 +833,9 @@ repl opcountersRepl ~~~~~~~~~~~~~~ -.. example:: :ref:`output of the opcountersRepl fields `. +For an example of the ``opcountersRepl`` output, see the +:ref:`opcountersRepl section ` of +the :doc:`/reference/server-status` page. .. data:: serverStatus.opcountersRepl @@ -870,7 +895,9 @@ opcountersRepl opcounters ~~~~~~~~~~ -.. example:: :ref:`output of the opcounters fields `. +For an example of the ``opcounters`` output, see the :ref:`opcounters +section ` of the +:doc:`/reference/server-status` page. .. data:: serverStatus.opcounters @@ -931,7 +958,9 @@ opcounters asserts ~~~~~~~ -.. example:: :ref:`output of the asserts fields `. +For an example of the ``asserts`` output, see the :ref:`asserts section +` of the :doc:`/reference/server-status` +page. .. data:: serverStatus.asserts @@ -982,7 +1011,10 @@ asserts writeBacksQueued ~~~~~~~~~~~~~~~~ -.. example:: :ref:`output of the writeBacksQueued fields `. +For an example of the ``writeBacksQueued`` output, see the +:ref:`writeBacksQueued section +` of the +:doc:`/reference/server-status` page. .. data:: serverStatus.writeBacksQueued @@ -1001,7 +1033,9 @@ Journaling (dur) .. versionadded:: 1.8 -.. example:: :ref:`output of the journaling fields `. +For an example of the ``Journaling (dur)`` output, see the +:ref:`journaling section ` of the +:doc:`/reference/server-status` page. .. data:: serverStatus.dur @@ -1114,7 +1148,9 @@ Journaling (dur) recordStats ~~~~~~~~~~~ -.. example:: :ref:`output of the recordStats ` fields. +For an example of the ``recordStats`` output, see the :ref:`recordStats +section ` of the +:doc:`/reference/server-status` page. .. versionadded::2.1.2 All :data:`~serverStatus.recordStats` statuses first appeared in the 2.1.2 @@ -1191,13 +1227,9 @@ workingSet .. versionadded:: 2.4 -.. example:: :ref:`output of the workingSet ` fields. - -.. note:: - - The :data:`~serverStatus.workingSet` data is only included in the - output of :dbcommand:`serverStatus` *if* explicitly enabled. To - return the :data:`~serverStatus.workingSet` use one of the +.. note:: The :data:`~serverStatus.workingSet` data is only included in + the output of :dbcommand:`serverStatus` if explicitly enabled. To + return the :data:`~serverStatus.workingSet`, use one of the following commands: .. code-block:: javascript @@ -1205,6 +1237,10 @@ workingSet db.serverStatus( { workingSet: 1 } ) db.runCommand( { serverStatus: 1, workingSet: 1 } ) +For an example of the ``workingSet`` output, see the :ref:`workingSet +section ` of the +:doc:`/reference/server-status` page. + .. data:: serverStatus.workingSet :data:`~serverStatus.workingSet` is a document that contains values @@ -1269,8 +1305,9 @@ workingSet metrics ~~~~~~~ -.. example:: :ref:`output of the metrics ` - fields. +For an example of the metrics output, see the :ref:`metrics section +` of the :doc:`/reference/server-status` +page. .. versionadded:: 2.4 @@ -1449,7 +1486,7 @@ metrics .. data:: serverStatus.metrics.repl.buffer.count :data:`~serverStatus.metrics.repl.buffer.count` reports the current - number of operations in the oplog buffer. + number of operations in the oplog buffer. .. data:: serverStatus.metrics.repl.buffer.maxSizeBytes @@ -1529,7 +1566,7 @@ metrics .. data:: serverStatus.metrics.repl.oplog.insert.num :data:`~serverStatus.metrics.repl.oplog.insert.num` reports the total - number of items inserted into the :term:`oplog`. + number of items inserted into the :term:`oplog`. .. data:: serverStatus.metrics.repl.oplog.insert.totalMillis