@@ -8,7 +8,7 @@ Current Operation Reporting
8
8
9
9
The :method:`db.currentOp()` helper in the :program:`mongo` shell
10
10
reports on the current operations running on the :program:`mongod`
11
- instance. The command returns the ``inprog`` array which contains a
11
+ instance. The command returns the ``inprog`` array, that contains a
12
12
document for each in progress operation. Consider the following
13
13
example output:
14
14
@@ -57,7 +57,7 @@ example output:
57
57
.. optional::
58
58
59
59
You may specify the ``true`` argument to :method:`db.currentOp()`
60
- to return full output. For example:
60
+ to return a more verbose output. For example:
61
61
62
62
.. code-block:: javascript
63
63
@@ -66,9 +66,6 @@ example output:
66
66
Furthermore, active operations (i.e. where :data:`active` are
67
67
``true``) will return additional fields.
68
68
69
- Continue reading for full documentation of the entire output of
70
- :method:`db.currentOp()`.
71
-
72
69
Output Reference
73
70
----------------
74
71
@@ -80,9 +77,8 @@ Output Reference
80
77
81
78
.. data:: active
82
79
83
- A boolean value, that reports if the option is currently running,
84
- with the ``true`` value, or queued and waiting for a lock to run,
85
- with the ``false`` value.
80
+ A boolean value, that is ``true`` if the option is currently running,
81
+ or ``false`` if queued and waiting for a lock to run.
86
82
87
83
.. data:: secs_running
88
84
@@ -135,7 +131,7 @@ Output Reference
135
131
136
132
.. data:: locks
137
133
138
- The :data:`locks` document reports on the kinds of locks that this
134
+ The :data:`locks` document reports on the kinds of locks this
139
135
operation currently holds. The following lock types are possible:
140
136
141
137
.. data:: locks.^
@@ -160,7 +156,7 @@ Output Reference
160
156
161
157
Returns a boolean value. :data:`waitingForLock` is ``true`` if the
162
158
operation is waiting for a lock and ``false`` if the operation has
163
- the locks that it needs to complete.
159
+ the lock that it needs to complete.
164
160
165
161
.. data:: msg
166
162
@@ -173,14 +169,14 @@ Output Reference
173
169
:data:`numYields` is a counter that reports the number of time that
174
170
this operation has yielded to allow other operations to complete.
175
171
176
- Typically, operations will yield when they need to access that that
177
- is not yet in memory while MongoDB pages in that data. This allows
178
- other operations that are already in memory, to complete quickly
179
- while MongoDB reads the data for the first operation into memory.
172
+ Typically, operations will yield when they need access that
173
+ is not yet in memory while MongoDB reads in the data. This allows
174
+ other operations that have data already in memory, to complete quickly
175
+ while MongoDB reads the data for the yielding operation into memory.
180
176
181
177
.. data:: lockStats
182
178
183
- The :data:`lockStats` document reflects the amount of time that a
179
+ The :data:`lockStats` document reflects the amount of time that
184
180
this operation has spent both acquiring and holding
185
181
locks. :data:`lockStats` reports data on a per-lock type, with the
186
182
following possible lock types:
@@ -191,7 +187,7 @@ Output Reference
191
187
.. data:: timeLockedMicros
192
188
193
189
The :data:`timeLockedMicros` document reports the amount of
194
- time this operation has spent holding specific locks .
190
+ time this operation has spent holding a specific lock .
195
191
196
192
.. data:: timeLockedMicros.r
197
193
0 commit comments