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:
parent
f5efaa92ea
commit
78b57f297e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user