This topic describes how to start and stop the CloudMonitor agent, and view the status of the CloudMonitor agent.
Start the CloudMonitor agent
- Windows
- Log on to the host where the CloudMonitor agent resides as the 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 CloudMonitor agent for C++:
net start argusagent
- Linux
- Log on to the host where the CloudMonitor agent resides as the root user.
- Run the following command to start the CloudMonitor agent:
bash /usr/local/cloudmonitor/cloudmonitorCtl.sh start
Stop the CloudMonitor agent
- Windows
- Log on to the host where the CloudMonitor agent resides as the 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 CloudMonitor agent:
net stop argusagent
- Linux
- Log on to the host where the CloudMonitor agent resides as the root user.
- Run the following command to stop the CloudMonitor agent:
bash /usr/local/cloudmonitor/cloudmonitorCtl.sh stop
View the status of the CloudMonitor agent
- Windows
- Log on to the host where the CloudMonitor agent resides as the 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 CloudMonitor agent is properly running.
- Linux
- Log on to the host where the CloudMonitor agent resides as the root user.
- 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