Can jconsole data be retrieved from the command line?

前端 未结 9 2095
耶瑟儿~
耶瑟儿~ 2020-12-05 17:21

I am currently using jconsole to monitor performance metrics of my Java application and would like to script this data acquisition

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 17:46

    Some other useful CLI tools to monitor a Java applications are:

    • Jmxterm which gives full access to all MBeans on the application server, runs interactively or not,
    • jmxbox which can only connect through a TCP socket, not directly to a local process with its PID

提交回复
热议问题