This topic describes how to start and stop the CloudMonitor agent, and view the status of the CloudMonitor agent.

Start the CloudMonitor agent

  • Windows
    1. Log on to the host where the CloudMonitor agent resides as the administrator.
    2. Open the command prompt window.

      Press Win+R. In the Run dialog box, enter cmd and click OK.

    3. Run the following command to start the CloudMonitor agent for C++:

      net start argusagent

  • Linux
    1. Log on to the host where the CloudMonitor agent resides as the root user.
    2. Run the following command to start the CloudMonitor agent:

      bash /usr/local/cloudmonitor/cloudmonitorCtl.sh start

Stop the CloudMonitor agent

  • Windows
    1. Log on to the host where the CloudMonitor agent resides as the administrator.
    2. Open the command prompt window.

      Press Win+R. In the Run dialog box, enter cmd and click OK.

    3. Run the following command to stop the CloudMonitor agent:

      net stop argusagent

  • Linux
    1. Log on to the host where the CloudMonitor agent resides as the root user.
    2. Run the following command to stop the CloudMonitor agent:

      bash /usr/local/cloudmonitor/cloudmonitorCtl.sh stop

View the status of the CloudMonitor agent

  • Windows
    1. Log on to the host where the CloudMonitor agent resides as the administrator.
    2. Open the Services window.

      Press Win+R. In the Run dialog box, enter services.msc and click OK.

    3. View the status of the argusagent service.

      If the status of the argusagent service is Running, the CloudMonitor agent is properly running.

  • Linux
    1. Log on to the host where the CloudMonitor agent resides as the root user.
    2. Run the following command to view the status of the CloudMonitor agent:

      ps aux | grep argusagent | grep -v grep

      The following output indicates that the CloudMonitor agent is properly running:
      root      2284  0.0  0.0  22516  1488 ?        Ss   Sep14   0:00 /usr/local/cloudmonitor/bin/argusagent -d
      root      2286  0.2  0.3 939652 14300 ?        Sl   Sep14   3:15 /usr/local/cloudmonitor/bin/argusagent