To start the management agent in console mode, use the command:
HADB_install_dir\bin\ma [config-file]
The optional argument config-file is the name of the management agent configuration file. For more information on the configuration file, see Customizing Management Agent Configuration.
To stop the agent, kill the process.