- #直接复制粘贴全部到SSH窗口即可sudo -isystemctl stop tat_agentsystemctl disable tat_agent/usr/local/qcloud/stargate/admin/uninstall.sh/usr/local/qcloud/YunJing/uninst.sh/usr/local/qcloud/monitor/barad/admin/uninstall.shrm -f /etc/systemd/system/tat_agent.servicerm -rf /usr/local/qcloudrm -rf /usr/local/sarm -rf /usr/local/agenttoolsrm -rf /usr/local/qcloudprocess=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver )for i in ${process[@]}do for A in $(ps aux | grep $i | grep -v grep | awk '{print $2}') do kill -9 $A donedone
复制代码 |