jManage command line interface (CLI) supports most of the commonly used JMX operations. It uses jManage server as the proxy for communicating with the JMX enabled applications.
jManage CLI is invoked by running jmanage script (jmanage.cmd for windows and jmanage.sh for unix):
jmanage [-username <username>] [-password <password>] [-verbose[=<level>]] [command] [command args]
The username/password are for authenticating with the jManage server. Users in jManage are created by System Administrator via the web UI.
jManage CLI can be be used in command execution mode or prompt mode. In the command execution mode, the command is specified as an argument to the jmanage script. For example:
jmanage -username admin -password 123456 execute myApplication/myMBean myOperation arg1
In this mode, jmanage CLI executes the command and exits.
If command is not specified as an argument to the jmanage script, after successful authentication, you get into a prompt mode. The commands can then be executed in the prompt mode.