diff options
author | Sam Kleinman <samk@10gen.com> | 2013-11-14 20:05:39 -0500 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2013-11-18 15:37:13 -0500 |
commit | 0bc6188105b9c42ee10cbb4cbc04aaaed0b91842 (patch) | |
tree | 4280663a2fd501f6623c95a35f269e444d13a14a /src/mongo/tools | |
parent | 04d753daf245d2037e531c67e0142070d54a9c30 (diff) | |
download | mongo-0bc6188105b9c42ee10cbb4cbc04aaaed0b91842.tar.gz |
SERVER-11714: fixing mongostat help output
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Diffstat (limited to 'src/mongo/tools')
-rw-r--r-- | src/mongo/tools/mongostat_options.cpp | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/src/mongo/tools/mongostat_options.cpp b/src/mongo/tools/mongostat_options.cpp index badf781c79b..c80bdb2f766 100644 --- a/src/mongo/tools/mongostat_options.cpp +++ b/src/mongo/tools/mongostat_options.cpp @@ -65,32 +65,33 @@ namespace mongo { *out << moe::startupOptions.helpString(); *out << "\n"; *out << " Fields\n"; - *out << " inserts \t- # of inserts per second (* means replicated op)\n"; - *out << " query \t- # of queries per second\n"; - *out << " update \t- # of updates per second\n"; - *out << " delete \t- # of deletes per second\n"; - *out << " getmore \t- # of get mores (cursor batch) per second\n"; - *out << " command \t- # of commands per second, on a slave its local|replicated\n"; - *out << " flushes \t- # of fsync flushes per second\n"; - *out << " mapped \t- amount of data mmaped (total data size) megabytes\n"; - *out << " vsize \t- virtual size of process in megabytes\n"; - *out << " res \t- resident size of process in megabytes\n"; - *out << " faults \t- # of pages faults per sec\n"; - *out << " locked \t- name of and percent time for most locked database\n"; - *out << " idx miss \t- percent of btree page misses (sampled)\n"; - *out << " qr|qw \t- queue lengths for clients waiting (read|write)\n"; - *out << " ar|aw \t- active clients (read|write)\n"; - *out << " netIn \t- network traffic in - bytes\n"; - *out << " netOut \t- network traffic out - bytes\n"; - *out << " conn \t- number of open connections\n"; - *out << " set \t- replica set name\n"; - *out << " repl \t- replication type \n"; - *out << " \t PRI - primary (master)\n"; - *out << " \t SEC - secondary\n"; - *out << " \t REC - recovering\n"; - *out << " \t UNK - unknown\n"; - *out << " \t SLV - slave\n"; - *out << " \t RTR - mongos process (\"router\")\n"; + *out << " inserts \t- # of inserts per second (* means replicated op)\n"; + *out << " query \t- # of queries per second\n"; + *out << " update \t- # of updates per second\n"; + *out << " delete \t- # of deletes per second\n"; + *out << " getmore \t- # of get mores (cursor batch) per second\n"; + *out << " command \t- # of commands per second, on a slave its local|replicated\n"; + *out << " flushes \t- # of fsync flushes per second\n"; + *out << " mapped \t- amount of data mmaped (total data size) megabytes\n"; + *out << " vsize \t- virtual size of process in megabytes\n"; + *out << " res \t- resident size of process in megabytes\n"; + *out << " non-mapped \t- amount virtual memeory less mapped memory (only with --all)\n"; + *out << " faults \t- # of pages faults per sec\n"; + *out << " locked \t- name of and percent time for most locked database\n"; + *out << " idx miss \t- percent of btree page misses (sampled)\n"; + *out << " qr|qw \t- queue lengths for clients waiting (read|write)\n"; + *out << " ar|aw \t- active clients (read|write)\n"; + *out << " netIn \t- network traffic in - bytes\n"; + *out << " netOut \t- network traffic out - bytes\n"; + *out << " conn \t- number of open connections\n"; + *out << " set \t- replica set name\n"; + *out << " repl \t- replication type \n"; + *out << " \t PRI - primary (master)\n"; + *out << " \t SEC - secondary\n"; + *out << " \t REC - recovering\n"; + *out << " \t UNK - unknown\n"; + *out << " \t SLV - slave\n"; + *out << " b\t RTR - mongos process (\"router\")\n"; *out << std::flush; } |