Hi,
im using the crm_mon output to parse the cluster status for other applications.
Problem is, when heartbeat is either not running or there is some connection
issue in the cluster or some random issue i cant make out - crm_mon will never
return (ok as soon as the issue is repaired it may be is).
The problem is, when calling crm_mon programmatically i would have to kill the
process manually after a specific timeout because it never exits.
I suggest that either
a) crm_mon --one-shot automatically terminates after X seconds
b) add a new param --timeout to the command line that you dont wait forever
What do you think?
Thanks
btw: if anyone knows a unix utility to start a process with a timeout please
let me know i.e. it would have 2 arguments, max time to run the program and the
timeout itself (properbly could code it myself in c but there may be something
like that)
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems