You initiate the agent launcher and agent life cycle commands with the hq-agent.bat script in the AgentHome/bin directory.

Procedure

  1. Open a terminal window.
  2. Type the required command using the format hq-agent.bat command where command is one of the following.

    Option

    Description

    start

    Starts the agent as an NT service.

    stop

    Stops the agent as an NT service.

    restart

    Stops and then starts the agent's JVM process.

    install

    Installs the agent NT service

    remove

    Removes the agent's service from the NT service table

    query

    Queries the current status of the agent NT service (status)

    ping

    Pings the agent process.

    setup

    Prompts for setup configuration for the agent process.