How to get the process ID to kill a nohup process?

前端 未结 13 1944
醉酒成梦
醉酒成梦 2020-11-27 08:53

I\'m running a nohup process on the server. When I try to kill it my putty console closes instead.

this is how I try to find the process ID:

ps -ef |         


        
13条回答
  •  余生分开走
    2020-11-27 09:35

    I started django server with the following command.

    nohup manage.py runserver 
    

    This works on CentOS:

    :~ ns$netstat -ntlp
    :~ ns$kill -9 PID 
    

提交回复
热议问题