Is there any command which list out all the Daemon processes created by users to perform some tasks. I have created various daemon processes and I want to kill it manually by checking its pid how can I do that.
All running processes (daemon and otherwise) can be listed using
this would list its PID as well, which you can use to kill the process using:
For, example, when I execute:
on my system, I get:
Or if you know the exact process name and it has only one running instance or you want to kill all running instances, you could use:
You could also use
to get just the pid of the concerned process, however, you need to know the exact process name.