This version of the documentation is archived and no longer supported.


Deprecated since version 2.6: Use the serverStatus command to return the serverStatus.metrics.cursor information instead.


The cursorInfo command returns information about current cursor allotment and use. Use the following form:

{ cursorInfo: 1 }

The value (e.g. 1 above) does not affect the output of the command.

cursorInfo returns the total number of open cursors (totalOpen), the size of client cursors in current use (clientCursors_size), and the number of timed out cursors since the last server restart (timedOut).

←   dbStats dataSize  →