Background Services
Main Service
The main service for connecting to the DeviceOn server/cloud is called βDeviceOnAgentβ on Windows or βsaagent.serviceβ on Linux. This service is configured to start manually by default.
The other related service is βDeviceOnAgent Portalβ on Windows or βdeviceonagentwebservice.serviceβ on Linux. This provides the web interface and is configured to start automatically. It will launch the DeviceOnAgent service on startup.

To confim the connection status on Linux through agnet_status: 0: Disconnect, 1: Connected, 2: Connecting.
cat /usr/local/AgentService/agent_statusTo update remote server IP:
sudo sed -i "s/CURRENT_IP/NEW_IP/g" /usr/local/AgentService/agent_config.xml
sudo systemctl restart saagent.service
To update IoT Key or Credential URL:
Update CrdentialURL and IoTKey tag value and save, then restart the saagent.service.
Watchdog Service
The βSAWatchdogβ service is a basic watchdog governing βDeviceOnAgent (Windows), saagent.service (Linux)β in order to ensure service quality.

To list only the running services on linux, we run:

Last updated
Was this helpful?