This topic describes how to start and stop the Cloud Monitor agent, and view the status of the Cloud Monitor agent.
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.
Start the Cloud Monitor agent
Windows
Log on to the host where the Cloud Monitor agent resides as an administrator.
- Open the command prompt window.
Press Win+R. In the Run dialog box, enter cmd and click OK.
- Run the following command to start the Cloud Monitor agent:
net start argusagent
Linux
Log on to the host where the Cloud Monitor agent resides as a root user.
Run the following command to start the Cloud Monitor agent:
bash /usr/local/cloudmonitor/cloudmonitorCtl.sh start
Stop the Cloud Monitor agent
Windows
Log on to the host where the Cloud Monitor agent resides as an administrator.
- Open the command prompt window.
Press Win+R. In the Run dialog box, enter cmd and click OK.
- Run the following command to stop the Cloud Monitor agent:
net stop argusagent
Linux
Log on to the host where the Cloud Monitor agent resides as a root user.
- Run the following command to stop the Cloud Monitor agent:
bash /usr/local/cloudmonitor/cloudmonitorCtl.sh stop
View the status of the Cloud Monitor agent
Windows
Log on to the host where the Cloud Monitor agent resides as an administrator.
Open the Services window.
Press Win+R. In the Run dialog box, enter services.msc and click OK.
View the status of the argusagent service.
If the status of the argusagent service is Running, the Cloud Monitor agent is running properly.
Linux
Log on to the host where the Cloud Monitor agent resides as a root user.
Run the following command to view the status of the Cloud Monitor agent:
ps aux | grep argusagent | grep -v grep
The following output indicates that the Cloud Monitor agent is running properly:
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