 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen hearbeat and automatic restarts?
 Josiah Bryan wrote: #!/usr/bin/perlif((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
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |