[Tutor] Pinging a service

Greg Lindstrom gslindstrom at gmail.com
Thu Jun 12 22:44:57 CEST 2008


Hello,

I would like to write a routine to monitor services running on a
remote box. My initial thought is to "ping" the remote box to monitor
latency and then execute a query on the remote machine to monitor the
database. What I would like is to gather data points and graph the
delay to see if there are any patterns;

A) Is this a sound strategy?

B) Are there libraries for the "ping"ing aspect?  If not, I can
execute the ping using "command"...how can I capture the screen output
to get the times?

Thanks,

--greg


More information about the Tutor mailing list