From 5f2c58bd44c6486f87e0e56d0a5d136d206025d2 Mon Sep 17 00:00:00 2001 From: Andrew Aldridge Date: Tue, 8 Mar 2016 15:31:03 -0500 Subject: [PATCH] DOCS-7347: Correct 2.4 serverStatus.cursors information --- source/core/cursors.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/source/core/cursors.txt b/source/core/cursors.txt index 0689cfc04b5..b934d2d73a6 100644 --- a/source/core/cursors.txt +++ b/source/core/cursors.txt @@ -106,10 +106,7 @@ Cursor Information ------------------ The :method:`db.serverStatus()` method returns a document that includes -a :data:`~serverStatus.metrics` field. The -:data:`~serverStatus.metrics` field contains a -:data:`~serverStatus.metrics.cursor` field with the following -information: +a :data:`~serverStatus.cursors` field with the following information: - number of timed out cursors since the last server restart @@ -122,13 +119,11 @@ information: - total number of open cursors Consider the following example which calls the -:method:`db.serverStatus()` method and accesses the ``metrics`` field -from the results and then the ``cursor`` field from the ``metrics`` -field: +:method:`db.serverStatus()` method and accesses the ``cursors`` field: .. code-block:: javascript - db.serverStatus().metrics.cursor + db.serverStatus().cursors The result is the following document: