我有一个我想杀死的进程:
computer@ubuntu:~$ ps aux | grep socat
root 2092 0.0 0.0 5564 1528 pts/1 T 14:37 0:00 sudo socat TCP:xxx.17.29.152:54321 PTY,link=/dev/ttyGPS0,raw,echo=0,mode=666
computer@ubuntu:~$ kill 2092
-bash: kill: (2092) - Operation not permitted <--------------- How to kill ??
Run Code Online (Sandbox Code Playgroud)
小智 28
如果sudo kill 'pid'不起作用,请尝试使用带有 -9 信号的 kill 命令:
sudo kill -9 2092
| 归档时间: |
|
| 查看次数: |
146986 次 |
| 最近记录: |