全球主机交流论坛

标题: Oracle小鸡清理后台监控 [打印本页]

作者: allen314    时间: 2019-10-11 22:55
标题: Oracle小鸡清理后台监控
刚才没事,也用htop看了下后台的进程,发现两个Oracle后台监管占用不少CPU和内存,建议大家去掉
命令行如下
systemctl stop oracle-cloud-agent
systemctl disable oracle-cloud-agent
systemctl stop oracle-cloud-agent-updater
systemctl disable oracle-cloud-agent-updater

作者: hihelllo    时间: 2019-10-11 22:59
感谢分享 用了!
作者: use    时间: 2019-10-11 23:02
直接DD~
作者: 三不    时间: 2019-10-11 23:10
感谢分享
作者: zmr90    时间: 2019-10-11 23:26
apt  remove   oracle-cloud-agent
apt  remove    oracle-cloud-agent-updater
作者: aRNoLD    时间: 2019-10-11 23:37
zmr90 发表于 2019-10-11 23:26
apt  remove   oracle-cloud-agent
apt  remove    oracle-cloud-agent-updater

一楼的在免费版的系统中都能用,ubuntu 18和centos7里都有systemctl

你这个apt只能用于ubuntu,centos7就不行了。
作者: zmr90    时间: 2019-10-11 23:38
aRNoLD 发表于 2019-10-11 23:37
一楼的在免费版的系统中都能用,ubuntu 18和centos7里都有systemctl

你这个apt只能用于ubuntu,centos7 ...

centos的也是一样的啊  
yum  remove   oracle-cloud-agent
yum  remove    oracle-cloud-agent-updater
作者: sandao    时间: 2019-10-11 23:40
66666
作者: qgtxqj    时间: 2019-10-11 23:47
snap remove oracle-cloud-agent
作者: 营养快线    时间: 2019-10-12 00:21
大佬们都是最近开始折腾的啊
作者: 宠虫    时间: 2019-10-12 01:18
aRNoLD 发表于 2019-10-11 23:37
一楼的在免费版的系统中都能用,ubuntu 18和centos7里都有systemctl

你这个apt只能用于ubuntu,centos7 ...


小白一个。。。我的是ubuntu 18

1楼的命令,报错。
2楼的命令,可以用的。

root@Ubuntu18:~# systemctl stop oracle-cloud-agent
Failed to stop oracle-cloud-agent.service: Unit oracle-cloud-agent.service not loaded.
root@Ubuntu18:~# systemctl disable oracle-cloud-agent
Failed to disable unit: Unit file oracle-cloud-agent.service does not exist.
root@Ubuntu18:~# systemctl stop oracle-cloud-agent-updater
Failed to stop oracle-cloud-agent-updater.service: Unit oracle-cloud-agent-updater.service not loaded.
root@Ubuntu18:~# systemctl disable oracle-cloud-agent-updater
Failed to disable unit: Unit file oracle-cloud-agent-updater.service does not exist.
root@Ubuntu18:~# apt  remove   oracle-cloud-agent
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package oracle-cloud-agent
root@Ubuntu18:~# apt  remove    oracle-cloud-agent-updater
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package oracle-cloud-agent-updater

作者: aRNoLD    时间: 2019-10-12 12:23
宠虫 发表于 2019-10-12 01:18
小白一个。。。我的是ubuntu 18

1楼的命令,报错。



服务名称不同,它是用snapd这个服务安装的,在CentOS里,和Ubuntu一样,线程名都叫oracle-cloud-ag
作者: injy    时间: 2019-10-12 14:35
本帖最后由 injy 于 2019-10-12 14:43 编辑

这个监管的作用是什么,就怕是一些控制操作的。比如配置ip,fw,加硬盘,什么的。会不会影响后续操作。
作者: chinayang    时间: 2019-10-12 14:40
都一个月了 大佬们才开始研究么
作者: wjppn    时间: 2019-10-12 14:52
宠虫 发表于 2019-10-12 01:18
小白一个。。。我的是ubuntu 18

1楼的命令,报错。

systemctl stop snap.oracle-cloud-agent.oracle-cloud-agent-updater.service
systemctl disable snap.oracle-cloud-agent.oracle-cloud-agent-updater.service
systemctl stop snap.oracle-cloud-agent.oracle-cloud-agent.service
systemctl disable snap.oracle-cloud-agent.oracle-cloud-agent.service




欢迎光临 全球主机交流论坛 (https://loc.010206.xyz/) Powered by Discuz! X3.4