[DOCS-1427] Comment on: "manual/reference/mongostat.txt" Created: 22/Apr/13  Updated: 30/Oct/23  Resolved: 22/Apr/13

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Alexander Komyagin Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/mongostat/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.29.13 (KHTML, like Gecko) Version/6.0.4 Safari/536.29.13
Referrer: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDIQFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Fmongostat&ei=dJZ1UYWDKNDI0gGCxIHgAg&usg=AFQjCNEGkgnA4UI54BpwtI8L9zrViIayTw&sig2=H1NZf7tnIVdN2_3Ioki6_g&bvm=bv.45512109,d.dmQ
Screen Resolution: 1440 x 900
repo: docs
source: reference/mongostat


Issue Links:
Duplicate
duplicates SERVER-7663 Mongostat usage help says netIn and n... Closed
Participants:
Days since reply: 10 years, 43 weeks, 2 days ago

 Description   

Are mongostat netIn and netOut measured in bits or bytes? Online doc says bytes, but mongostat --help says bits.

It's confusing.



 Comments   
Comment by Alexander Komyagin [ 22/Apr/13 ]

Yeah, thank you, Ed. It's SERVER-7663.

Comment by Ed Costello [ 22/Apr/13 ]

Bytes, from tools/stat_util.cpp:

            _appendNet( result , "netIn" , diff( "bytesIn" , ax , bx ) );
            _appendNet( result , "netOut" , diff( "bytesOut" , ax , bx ) );

The online help from mongostat --help is in error.
I think there was an earlier ticket about this and the source was to be fixed in 2.4.x

Generated at Thu Feb 08 07:40:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.