I have a tricky problem concerning a nohup process:
I started a python2.7 script which loops over a function.
At the end it restarts the function. Due to a mistake I'm now having a never ending nohup process that I have to kill.
I started the program execution with:
>>
nohup python2.7 myscript.py
with
>>
ps -ef|grep nohup
I see that the PID is constantly changing.
How can I kill all nohup processes.
I already tried: killall -9 myscript.py pkill myscript.py
What I did now to minimize the damage :
I moved the complete folder, where the script is working on to another place. With that I avoid the creation of the output text-files, which were messing up my folder and eating up storage capacity.
The nohup process is still running - still changing ID every second or faster. ..