Under Ubuntu 20 I have installed Swatchdog and started five daemon processes (running in the background).
Now I wanted to stop the script, so I used apt-get remove swatch
.
However, as I could notice, this did not remove the background processes.
What is the command to remove the swatchdog processes?
I used ps -eo 'tty,pid,comm' | grep ^?
to list all background processes and found it with:
158434 /usr/bin/swatch
I also found 461 watchdogd
but guess it's unrelated.
PS: I guess a server restart would work. But I like to do it without restart.