简体   繁体   English

无法杀死MAC OSX中的snmpd进程

[英]not able to kill snmpd process in MAC OSX

Trying to Kill snmpd process i MAC OSX not able to do, after every Kill it restart again Automatically, not sure who is starting the process again and again, using MAC OSX operation system 尝试杀死snmpd进程i MAC OSX无法执行,每次杀死之后它会自动重新启动,不知道是谁使用MAC OSX操作系统一次又一次地启动进程

bash$ ps ax |grep snmpd
22214   ??  Ss     0:00.10 /usr/libexec/snmpd -f
22224 s001  R+     0:00.00 grep snmpd

Kiling the Process_Id 整理Process_Id

bash$ sudo kill -9 22214

after killing the prcoess again snmpd process is Up 再次杀死公主后,snmpd进程已启动

bash$ ps ax |grep snmpd
22231   ??  Ss     0:00.08 /usr/libexec/snmpd -f
22234 s001  S+     0:00.00 grep snmpd

I tried this so many times not able to Kill the snmpd process, 我尝试了很多次,无法杀死snmpd进程,

After doing some research Work i got the answer, iN MAC the snmpd started using launchctl unloading it has resolved the Issue 经过一些研究工作,我得到了答案,iN MAC snmpd开始使用launchctl卸载,它已经解决了问题

sudo launchctl unload -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist

after executing this command the snmpd process is get stopped 执行此命令后,snmpd进程将停止

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM