내가이 실행중인 프로세스를 죽이는 과정이 작동하지 않습니다 :pkill에의 -f는
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/
나는 실행하려고 :
pkill -f http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent
그러나 프로세스가 계속 실행합니다.
"http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent"이 포함 된 프로세스를 강제 종료하려면 어떻게합니까? 아래 편집으로
질문 :
ps ax | grep 'Momomoko.E01.140011.HDTV.H264.720p.mp4'
나는 위의 문자열을 포함하는 모든 프로세스를 종료하고 싶습니다.
나는 위의 라인을 실행했는데,이 세 가지 결과를 반환 :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 /usr/bin/python /usr/bin/btdownloadcurses http://zoink.it/torrent/732A4A9B54B7E3A916C2835D936D985942F65A6D.torrent --display_interval 20 --saveas /srv/Momomoko.E01.140011.HDTV.H264.720p.mp4
344 pts/2 T 0:00 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
가 어떻게이 줄을 실행합니까 :
ps ax | grep 'Momomoko.E01.140011.HDTV.H264.720p.mp4'
..with PHP, 그리고 kill -9
일치하는 모든 프로세스?
나는 고마워. 내 질문을 편집했습니다. –
@Limzhenxiang 다시 확인하십시오. 저는 새 요구 사항에 따라 답변을 업데이트했습니다. – Skynet