Start Smart Agent

Smart Agent can be managed as a system service or a process.

Note: If SELinux is enabled, you require to use the SELinux context of the smartagent file that is applicable through systemd services. Run the following command to change the context, then restart the service:
sudo chcon -t bin_t <smartagent dir>/smartagent
sudo systemctl restart smartagent

Start as Process

For Linux, you can start Smart Agent as a process without the sudo access.

For Windows, you require Administrator access to start Smart Agent. Therefore, you cannot start Smart Agent as a process in Windows.

To start the Smart Agent as a process, run the following command:

./smartagentctl start --user <username> --group <groupname>

To view other operations that you can perform, run the following command:

./smartagentctl --help

Start as Service

To start the Smart Agent as a service, run the following command:

For Linux

$ sudo ./smartagentctl start --service

To stop the Smart Agent service, you can use the following command:

$ sudo ./smartagentctl stop

For Windows

The Smart Agent service starts when you run the \smartagentctl.exe

.\smartagentctl.exe start --service

To view other operations that you can perform, run the following command:

.\smartagentctl.exe --help

For example to stop Smart Agent, you can use the following command:

.\smartagentctl.exe stop