Pkill -f doesn't work for process killing

前端 未结 3 592
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-05 10:19

I have this process running:

342 pts/2    T    0:00 sh -c sudo screen /usr/bin/python /usr/bin/btdownloadcurses \"http://zoink.it/torrent/732A4A9B54B7E3A916C2835         


        
3条回答
  •  忘掉有多难
    2021-02-05 10:50

    If you have that zombie process open in a terminal, you can Ctrl+z it, which on most shells lets the process run in the background and outputs something like:

    [1]  + 69880 suspended  someprocess
    

    You can then actually kill it with:

    kill -9 69880
    

    the same id that was shown when suspended.

提交回复
热议问题