How to monitor java application memory usage in Docker

前端 未结 6 1214
刺人心
刺人心 2020-12-29 12:04

I run the java web application on tomcat in the Docker container.

Is there any way to monitor the memory usage of the java application? I try to use jconsole<

6条回答
  •  误落风尘
    2020-12-29 12:36

    To monitor docker containers I recommend Google's cAdvisor project. That way you have a general solution to monitor docker containers. Just run your app, whatever that is, in a docker container, and check things like cpu and memory usage. Here you have an http API as well as a web ui.

提交回复
热议问题