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

About this task

Procedure

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

    Option

    Description

    start

    Starts the agent as a daemon process.

    stop

    Stops the agent's JVM process.

    restart

    Stops and then starts the agent's JVM process.

    status

    Queries the status of the agent's JVM process..

    dump

    Runs a thread dump for the agent process, and writes the results to the agent.log file in AgentHome/log .

    ping

    Pings the agent process.

    setup

    Causes the vRealize Hyperic agent to prompt you for the agent-server connection properties, enabling you to change values that were provided at first agent startup.