All Products
Search
Document Center

Cloud Monitor:How do I restart the Cloud Monitor agent for C++?

Last Updated:Nov 07, 2025

After you install or configure the Cloud Monitor agent, you must restart it to apply the configuration. This topic describes how to restart the Cloud Monitor agent for C++ in Windows and Linux.

Important

You can only manage the Cloud Monitor agent by using an administrator account (the root user for Linux or the Administrator user for Windows). However, using an administrator account may introduce certain risks, such as system stability or data security issues. Proceed with caution.

Windows

  1. Use an administrator account to log on to the server on which the Cloud Monitor agent resides.

  2. Go to the C:\Program Files\Alibaba\cloudmonitor directory in which the Cloud Monitor agent resides.

  3. Double-click stop.bat to stop the Cloud Monitor agent.

  4. Double-click start.bat to start the Cloud Monitor agent.

Linux

  1. Use the root account to log on to the server on which the Cloud Monitor agent resides.

  2. Run the following command to go to the directory of the Cloud Monitor agent:

    cd /usr/local/cloudmonitor

  3. Run the following command to restart the Cloud Monitor agent:

    ./cloudmonitorCtl.sh restart