tea*_*eef 3 command-line process kill
我有一个命令 ( /usr/lib/R/exec/R pathtoDifferentFiles) 正在执行,其中包含许多不同的参数(文件名)。看htop,我看到至少创建了 30 个进程,
我想同时杀死他们所有人。
有没有办法杀死应用以模式开头的命令的进程?( /usr/lib/R/exec/R)
尝试使用以下pkill命令:
pkill --full /usr/lib/R/bin/exec/R
Run Code Online (Sandbox Code Playgroud)
从pkill手册页:
Run Code Online (Sandbox Code Playgroud)pkill will send the specified signal (by default SIGTERM) to each process. [...] -f, --full The pattern is normally only matched against the process name. When -f is set, the full command line is used.
| 归档时间: |
|
| 查看次数: |
765 次 |
| 最近记录: |