2021-07-27T00:00:32.837592+08:00 [conn11837] command monitor.$cmd command: update { update: "process_snapshot_v1", updates: 85, ordered: false, shardVersion: [ Timestamp 45458000|0, ObjectId('5836a370dd42ce3bf562ebe9') ] } keyUpdates:0 writeConflicts:0 numYields:0 reslen:2309 locks:{ Global: { acquireCount: { r: 172, w: 172 } }, Database: { acquireCount: { w: 172 } }, Collection: { acquireCount: { w: 87 } }, Metadata: { acquireCount: { w: 85 } }, oplog: { acquireCount: { w: 85 } } } protocol:op_command 190ms
2021-07-27T00:00:32.911740+08:00 [conn11815] command monitor.$cmd command: update { update: "process_snapshot_v1", updates: 122, ordered: false, shardVersion: [ Timestamp 45458000|0, ObjectId('5836a370dd42ce3bf562ebe9') ] } keyUpdates:0 writeConflicts:0 numYields:0 reslen:2753 locks:{ Global: { acquireCount: { r: 248, w: 248 } }, Database: { acquireCount: { w: 248 } }, Collection: { acquireCount: { w: 126 } }, Metadata: { acquireCount: { w: 122 } }, oplog: { acquireCount: { w: 122 } } } protocol:op_command 296ms
2021-07-27T00:00:32.941457+08:00 [conn11746] command monitor.$cmd command: update { update: "process_1min_1627257600", updates: 48, ordered: false, shardVersion: [ Timestamp 915000|25, ObjectId('60fb922daf63c4b02a245f1b') ] } keyUpdates:0 writeConflicts:0 numYields:0 reslen:2013 locks:{ Global: { acquireCount: { r: 96, w: 96 } }, Database: { acquireCount: { w: 96 } }, Collection: { acquireCount: { w: 48 } }, Metadata: { acquireCount: { w: 48 } }, oplog: { acquireCount: { w: 48 } } } protocol:op_command 113ms
2021-07-27T00:00:32.943920+08:00 [conn11787] command monitor.$cmd command: update { update: "process_snapshot_v1", updates: 84, ordered: false, shardVersion: [ Timestamp 45458000|0, ObjectId('5836a370dd42ce3bf562ebe9') ] } keyUpdates:0 writeConflicts:0 numYields:0 reslen:2642 locks:{ Global: { acquireCount: { r: 174, w: 174 } }, Database: { acquireCount: { w: 174 } }, Collection: { acquireCount: { w: 90 } }, Metadata: { acquireCount: { w: 84 } }, oplog: { acquireCount: { w: 84 } } } protocol:op_command 280ms
2021-07-27T00:00:32.949948+08:00 [conn11847] command monitor.$cmd command: update { update: "process_snapshot_v1", updates: 111, ordered: false, shardVersion: [ Timestamp 45458000|0, ObjectId('5836a370dd42ce3bf562ebe9') ] } keyUpdates:0 writeConflicts:0 numYields:0 reslen:3345 locks:{ Global: { acquireCount: { r: 225, w: 225 } }, Database: { acquireCount: { w: 225 } }, Collection: { acquireCount: { w: 114 } }, Metadata: { acquireCount: { w: 111 } }, oplog: { acquireCount: { w: 111 } } } protocol:op_command 309ms
2021-07-27T00:00:32.981136+08:00 [conn11865] update monitor.process_snapshot_v1 query: { host: "h55-battle01-12026", id: "31436_1627315201.04" } update: { $set: { status: "sleeping", last_updated: 1627315231.290128, name: "sh", created: 1627315201.04, cmd_str: "/bin/sh -c [ -e /usr/local/hwtool/script/hwcheck.py ] && python /usr/local/hwtool/script/hwcheck.py >> /var/log/hwcheck.log 2>&1", pid: 31436, ts: new Date(1627315231000), alive: true, user: "root", id: "31436_1627315201.04" }, $unset: { disappear_ts: 1, raw_disappear_ts: 1 } } keysExamined:0 docsExamined:0 nMatched:1 nModified:1 upsert:1 keyUpdates:0 writeConflicts:0 numYields:0 locks:{ Global: { acquireCount: { r: 155, w: 155 } }, Database: { acquireCount: { w: 155 } }, Collection: { acquireCount: { w: 78 } }, Metadata: { acquireCount: { w: 77 } }, oplog: { acquireCount: { w: 77 } } } 103ms
root@oceantest-xucltestmongos01-2140180:/home/data/smthing# keyhole -loginfo mongodb-20210727.log
2021-07-28T17:21:42+08:00 R simagix/keyhole v1.0.7-20210722 begins at 2021-07-28T17:21:42+08:00
+----------+--------+------+--------+------+---------------------------------+--------------------------------------------------------------+
| Command |COLLSCAN|avg ms| max ms | Count| Namespace | Query Pattern |
|----------+--------+------+--------+------+---------------------------------+--------------------------------------------------------------|
+----------+--------+------+--------+------+---------------------------------+--------------------------------------------------------------+
top 0 of 0 lines displayed; see HTML report for details.