MogoDb监控

进入 MongoDB 容器

docker exec -it <mongodb_container_name> bash

mongostat --host=<container_ip>:27017 --username= --password= --authenticationDatabase=admin

mongotop --host=<container_ip>:27017 --username= --password= --authenticationDatabase=admin

posted @ 2025-04-02 08:31  abowu  阅读(4)  评论(0)    收藏  举报