0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

print currentOp in http interface

This commit is contained in:
Aaron 2009-05-12 15:09:25 -04:00
parent f5efaa92ea
commit 78b57f297e

View File

@ -113,6 +113,7 @@ namespace mongo {
public:
// caller locks
void doLockedStuff(stringstream& ss) {
ss << "currentOp: " << currentOp.infoNoauth() << "\n";
ss << "# databases: " << databases.size() << '\n';
if ( database ) {
ss << "curclient: " << database->name;