几个月前我安装了一个程序,它有一个我安装的启动选项。后来,我决定删除该程序,但即使在我卸载它之后它似乎也留下了启动脚本或项目......并且它试图每隔几秒钟启动一次。
我怎样才能删除这个项目?
这是来自控制台的
$ com.apple.launchd[1] (com.jft.PdaNetMac[24476]): Exited with exit code: 1
$ com.apple.launchd[1] (com.jft.PdaNetMac): Throttling respawn: Will start in 10 second
Run Code Online (Sandbox Code Playgroud)
小智 15
这些确实是 launchd 查找的标准位置。确保检查主目录的位置以及根目录的位置。
如果找不到该文件,也可以在终端中尝试以下操作:
$ launchctl remove com.jft.PdaNetMac
Run Code Online (Sandbox Code Playgroud)
要查看所有已启动作业的列表:
$ launchctl list
PID Status Label
78960 - 0x7fe25c1052f0.anonymous.launchctl
78923 - 0x7fe25c008e40.anonymous.pppd
78922 - 0x7fe25c007e50.anonymous.pppd
78841 - 0x7fe25ae0c470.anonymous.Google Chrome H
78704 - 0x7fe25c006c90.anonymous.Google Chrome H
84037 - 0x7fe25ac258c0.anonymous.dbfseventsd
31909 - 0x7fe25c0081c0.anonymous.Google Chrome H
25351 - [0x0-0x1e51e5].com.skype.skype
...
Run Code Online (Sandbox Code Playgroud)
有关更多信息,请尝试man launchd
和man launchctl
。
小智 5
检查以下位置 ~/Library/LaunchDaemons、~/Library/LaunchAgents、/Library/LaunchDaemons、/Library/LaunchAgents/、/System/Library/LaunchDaemons/ 和 /System/Library/LaunchAgents 更有可能会有一个文件在这些目录之一中命名为 com.jft.PdaNetMac。只需将其移至垃圾箱并重新启动即可。
归档时间: |
|
查看次数: |
18811 次 |
最近记录: |