Commands I learned while trying to make supervisord work on my CentOS machine.
Before this i knew only
ps command with
What I did was:
ps aux | grep supervisor
see the pid of process and then
More interesting way:
kill -HUP `pgrep superv`
sends hang-up signal to the selected process.
HUP usually restarts the process.
pgrep looks through the currently running processes and lists the process IDs which matches the selection criteria to stdout.
And then this command:
to kill based on process name or send any signal
pkill -HUP superv
More info on this blog post