Subject | Check if server is alive |
---|---|
Author | Yves Glodt |
Post date | 2005-08-30T15:36:37Z |
Hello,
I want to make periodic checks whether an FB server is running or not
(the FB service and thus the box itself as well).
Is there a way to connect to port 3050 and send a specifiy string or
packet and get a well defined answer (to see if server is alive or not)?
Or should I make a separate daemon that checks locally whether FB turns
(ps -e | grep ...) and gives me my well defined answer on a tcp socket
when I ask it for?
Regards,
Yves
I want to make periodic checks whether an FB server is running or not
(the FB service and thus the box itself as well).
Is there a way to connect to port 3050 and send a specifiy string or
packet and get a well defined answer (to see if server is alive or not)?
Or should I make a separate daemon that checks locally whether FB turns
(ps -e | grep ...) and gives me my well defined answer on a tcp socket
when I ask it for?
Regards,
Yves