@@ -8,7 +8,7 @@ Current Operation Reporting
88
99The :method:`db.currentOp()` helper in the :program:`mongo` shell
1010reports 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
1212document for each in progress operation. Consider the following
1313example output:
1414
@@ -57,7 +57,7 @@ example output:
5757.. optional::
5858
5959 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:
6161
6262 .. code-block:: javascript
6363
@@ -66,9 +66,6 @@ example output:
6666 Furthermore, active operations (i.e. where :data:`active` are
6767 ``true``) will return additional fields.
6868
69- Continue reading for full documentation of the entire output of
70- :method:`db.currentOp()`.
71-
7269Output Reference
7370----------------
7471
@@ -80,9 +77,8 @@ Output Reference
8077
8178.. data:: active
8279
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.
8682
8783.. data:: secs_running
8884
@@ -135,7 +131,7 @@ Output Reference
135131
136132.. data:: locks
137133
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
139135 operation currently holds. The following lock types are possible:
140136
141137 .. data:: locks.^
@@ -160,7 +156,7 @@ Output Reference
160156
161157 Returns a boolean value. :data:`waitingForLock` is ``true`` if the
162158 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.
164160
165161.. data:: msg
166162
@@ -173,14 +169,14 @@ Output Reference
173169 :data:`numYields` is a counter that reports the number of time that
174170 this operation has yielded to allow other operations to complete.
175171
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.
180176
181177.. data:: lockStats
182178
183- The :data:`lockStats` document reflects the amount of time that a
179+ The :data:`lockStats` document reflects the amount of time that
184180 this operation has spent both acquiring and holding
185181 locks. :data:`lockStats` reports data on a per-lock type, with the
186182 following possible lock types:
@@ -191,7 +187,7 @@ Output Reference
191187 .. data:: timeLockedMicros
192188
193189 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 .
195191
196192 .. data:: timeLockedMicros.r
197193
0 commit comments