- Reference >
- Database Commands >
- Diagnostic Commands >
- cursorInfo
cursorInfo¶
Deprecated since version 2.6: Use the serverStatus command to return the
serverStatus.metrics.cursor information instead.
-
cursorInfo¶ The
cursorInfocommand returns information about current cursor allotment and use. Use the following form:The value (e.g.
1above) does not affect the output of the command.cursorInforeturns 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).