Search code examples
javajvmjcmd

jcmd - What is command ManagementAgent.start used for?


When using jcmd to monitor java process, there is a command ManagementAgent.start.

Checking man page / oracle document / google, didn't found any description.

The question is:

  • What is it used for?

Solution

  • This command starts remote JMX agent as if -Dcom.sun.management.jmxremote command-line argument is set. See Monitoring and Management Using JMX Technology.