mongo-current-op:显示mongo当前操作

时间:2024-06-03 17:55:14
【文件属性】:

文件名称:mongo-current-op:显示mongo当前操作

文件大小:5KB

文件格式:ZIP

更新时间:2024-06-03 17:55:14

JavaScript

安装 npm install -g mongo-current-op # or npx mongo-current-op 用法 ~/D/p/mongo-current-op (master →) npm start > mongo-current-op@1.0.0 start /Users/christian/Documents/projects/mongo-current-op > node $npm_package_main -------------------------- aggregate on "collection" [{"$unwind":"$subDocs"},{"$group":{"_id":{"status":"$status","subDocs":"$subDocs"},"count":{"$sum":1}}},{"$sort":{"count":-1}}] ~/


【文件预览】:
mongo-current-op-master
----.travis.yml(146B)
----index.js(1KB)
----package.json(673B)
----test()
--------index.test.js(1KB)
----package-lock.json(4KB)
----.gitignore(14B)
----README.md(1KB)

网友评论