Hi All,

I look at the daemon of tools to make a new daemon. So, I have a question.

When the old pid file existed, crm_mon is start as a daemon. Then,
crm_mon don't update this old pid file. And, crm_mon doesn't stop.
I would like to know if this behavior is correct.

I replicate this situation.

[root@coro-n1 ~]# ps -ef | grep crm_mon
root     12967 12517  0 18:18 pts/1    00:00:00 grep crm_mon
[root@coro-n1 ~]# cat /tmp/ClusterMon.pid
       958
[root@coro-n1 ~]# crm_mon --daemonize --as-html /tmp/aaa.html
[root@coro-n1 ~]# ps -ef | grep crm_mon
root     13051     1  0 18:18 pts/1    00:00:00 crm_mon --daemonize
--as-html /tmp/aaa.html
root     13053 12517  0 18:18 pts/1    00:00:00 grep crm_mon
[root@coro-n1 ~]# cat /tmp/ClusterMon.pid
       958

Sincerely,
Yuichi

--
Yuichi SEINO
METROSYSTEMS CORPORATION
E-mail:seino.clust...@gmail.com

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to