通过全新方式在 Apple 支持社区中投票!

你现在可以根据回复和用户使用技巧是否有用,来投出赞同票或反对票。进一步了解 <Apple 支持社区投票方式>的近期变更。

看上去一段时间内没有人回复。 要再次发起对话,只需提出一个新问题即可。

usereventagent占用内存,请问如何解决

在活动检测器中发现UserEventAgent进程无限吃掉内存,关闭进程后自动重新启动该进程,请问这种情况如何解决,在网上搜索解决办法如下:

有两个办法:
1.删除这个文件
/System/Library/UserEventPlugins/AppleHIDMouseAgent.plugin/Contents/MacOS/AppleH IDMouseAgent

2.终端使用如下命令:
cd /System/Library/UserEventPlugins
sudo mv com.apple.cts.plugin com.apple.cts.plugin.disabled
sudo shutdown -r now


我想问第一个如何删掉这个文件,此文件不可删除啊?急等,多谢大家!

发布日期 2017年12月5日 下午6:37

回复
回复量: 3

2017年12月28日 下午8:55 回应 aixer

重启用command+r 进入恢复模式,上面菜单里找到终端

输入

csrutil disable 回车,然后重启,可以解开权限 (如果要关闭,可在恢复模式终端里输入 csrutil enable

进入系统,终端里执行

cd /System/Library/UserEventPlugins

sudo mv com.apple.cts.plugin com.apple.cts.plugin.disabled

sudo shutdown -r now

此命令即可

usereventagent占用内存,请问如何解决

欢迎来到 Apple 支持社区
Apple 客户在其产品方面互相帮助的论坛。使用你的 Apple ID 开始畅游其中吧!