|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Xen hearbeat and automatic restarts?
Josiah Bryan wrote:
#!/usr/bin/perl
if((time - (stat('/tmp/myheartbeat')) > 120) # seconds to wait before
killing and restarting the domu on a missed heartbeat
Oops..syntax was wrong! Should have been:
if((time - (stat('/tmp/myheartbeat')[9]) > 120)
I was thinking it, just never reached my fingers in that first email. Sorry!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|