diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-02-28 18:40:02 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-02-28 18:40:02 -0500 |
commit | 6f73b51f8e2a040182eb97376c3debb3625ad669 (patch) | |
tree | e54083b1e6386a8acb2672c280d26d9445efd510 /db/dbcommands.cpp | |
parent | b2ebbd04d716ab631f6caa8e51eecd1cc8b5e281 (diff) | |
download | mongo-6f73b51f8e2a040182eb97376c3debb3625ad669.tar.gz |
debugging for slow server status
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r-- | db/dbcommands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp index 3502ab1c4b4..8974bd3503a 100644 --- a/db/dbcommands.cpp +++ b/db/dbcommands.cpp @@ -406,6 +406,8 @@ namespace mongo { t.appendBool( "supported" , false ); } + timeBuilder.appendNumber( "middle of mem" , Listener::getElapsedTimeMillis() - start ); + t.appendNumber( "mapped" , MemoryMappedFile::totalMappedLength() / ( 1024 * 1024 ) ); t.done(); |