Hello everybody, I would like to know an easy way to check is a daemon is running.
What do you think is the best? Try to read a .pid file from the right directory? Use sockets function to try to connect to the listening port of the daemon? Grep the output of "ps -e" ? Thanks for your help ! Gilles.