我正在运行此进程:
342 pts/2 T 0:00 sh -c sudo screen /usr/bin/python /usr/bin/btdownloadcurses "http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent" --display_interval 20 --saveas "/srv/"
343 pts/2 T 0:00 sudo screen /usr/bin/python /usr/bin/btdownloadcurses http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent --display_interval 20 --saveas /srv/
344 pts/2 T 0:00 screen /usr/bin/python /usr/bin/btdownloadcurses http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent --display_interval 20 --saveas /srv/
Run Code Online (Sandbox Code Playgroud)
我试着跑:
pkill -f http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent
Run Code Online (Sandbox Code Playgroud)
但这个过程仍在运行.
如何强制终止包含以下内容的进程:" http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent "?
编辑如下:
ps ax | grep 'Momomoko.E01.140011.HDTV.H264.720p.mp4'
Run Code Online (Sandbox Code Playgroud)
我想杀死包含上述字符串的所有进程.
我尝试运行上面的行,它返回三个结果:
342 pts/2 T 0:00 sh -c sudo screen /usr/bin/python /usr/bin/btdownloadcurses "http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent" --display_interval 20 --saveas "/srv/Momomoko.E01.140011.HDTV.H264.720p.mp4"
343 pts/2 T 0:00 sudo screen …
Run Code Online (Sandbox Code Playgroud)