UniAgent Commands
CentOS 7 and Above
-
Check UniAgent status:
sudo systemctl status tingyun-oneagent -
Start UniAgent:
sudo systemctl start tingyun-oneagent -
Stop UniAgent:
sudo systemctl stop tingyun-oneagentAfter stopping, already injected processes will continue to collect data, but newly started processes will not be injected.
-
Restart UniAgent:
sudo systemctl restart tingyun-oneagent
CentOS 7 and Below
-
Check UniAgent status:
sudo service tingyun-oneagent status -
Start UniAgent:
sudo service tingyun-oneagent start -
Stop UniAgent:
sudo service tingyun-oneagent stopAfter stopping, already injected processes will continue to collect data, but newly started processes will not be injected.
-
Restart UniAgent:
sudo service tingyun-oneagent restart
If the system does not have systemctl or service commands, try the following
-
Start
/etc/init.d/tingyun-oneagent startStop/etc/init.d/tingyun-oneagent stop -
Start
/sbin/init.d/tingyun-oneagent startStop/sbin/init.d/tingyun-oneagent stop -
Start
/etc/rc.d/tingyun-oneagent startStop/etc/rc.d/tingyun-oneagent stop