Skip to content

Commit 33f52ff

Browse files
author
Ed Costello
committed
DOCS-737 correct bits to bytes for netIn/Out, also edits for style
1 parent bdb627f commit 33f52ff

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

source/reference/mongostat.txt

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ Synopsis
1111

1212
The :program:`mongostat` utility provides a quick overview of the
1313
status of a currently running :program:`mongod`
14+
or :program:`mongos`
1415
instance. :program:`mongostat` is functionally similar to the
1516
UNIX/Linux file system utility ``vmstat``, but provides data regarding
16-
:program:`mongod` instances.
17+
:program:`mongod` and :program:`mongos` instances.
1718

1819
.. seealso::
1920

@@ -30,10 +31,11 @@ UNIX/Linux file system utility ``vmstat``, but provides data regarding
3031
For an additional utility that provides MongoDB metrics see
3132
":doc:`mongotop </reference/mongotop>`."
3233

33-
:program:`mongostat` connects to the :program:`mongod` process running
34+
:program:`mongostat` connects to the :program:`mongod` instance running
3435
on the local host interface on TCP port ``27017``; however,
35-
:program:`mongostat` can connect to any accessible remote MongoDB
36-
process.
36+
:program:`mongostat` can connect to any accessible remote :program:`mongod`
37+
instance.
38+
3739

3840
Options
3941
-------
@@ -60,7 +62,7 @@ Options
6062

6163
Specifies a resolvable hostname for the :program:`mongod` from which you
6264
want to export data. By default :program:`mongostat` attempts to connect
63-
to a MongoDB process running on the localhost port number ``27017``.
65+
to a MongoDB instance running on the localhost port number ``27017``.
6466

6567
Optionally, specify a port number to connect a MongoDB instance
6668
running on a port other than ``27017``.
@@ -101,15 +103,16 @@ Options
101103
.. option:: --rowcount <number>, -n <number>
102104

103105
Controls the number of rows to output. Use in conjunction with
104-
":command:`mongostat <sleeptime>`" to control the duration of a
106+
:program:`mongostat <sleeptime>` to control the duration of a
105107
:program:`mongostat` operation.
106108

107-
Unless specification, :program:`mongostat` will return an infinite number
109+
Unless :option:`--rowcount` is specified, :program:`mongostat`
110+
will return an infinite number
108111
of rows (e.g. value of ``0``.)
109112

110113
.. option:: --http
111114

112-
Configures :program:`mongostat` to collect data using HTTP interface
115+
Configures :program:`mongostat` to collect data using the HTTP interface
113116
rather than a raw database connection.
114117

115118
.. option:: --discover
@@ -134,7 +137,7 @@ Options
134137

135138
.. option:: <sleeptime>
136139

137-
The final argument the length of time, in seconds, that
140+
The final argument is the length of time, in seconds, that
138141
:program:`mongostat` waits in between calls. By default :program:`mongostat`
139142
returns one call every second.
140143

@@ -260,13 +263,13 @@ average operations per second.
260263

261264
.. describe:: netIn
262265

263-
The amount of network traffic, in *bits*, received by the MongoDB.
266+
The amount of network traffic, in *bytes*, received by the MongoDB instance.
264267

265268
This includes traffic from :program:`mongostat` itself.
266269

267270
.. describe:: netOut
268271

269-
The amount of network traffic, in *bits*, sent by the MongoDB.
272+
The amount of network traffic, in *bytes*, sent by the MongoDB instance.
270273

271274
This includes traffic from :program:`mongostat` itself.
272275

0 commit comments

Comments
 (0)