[sf-perl] remote host time

Andy Lester andy at petdance.com
Sat Jul 5 11:42:30 PDT 2008


On Jul 5, 2008, at 1:38 PM, Richard Reina wrote:

> Yes the remote hosts are running ntpd. I have a basic script that  
> periodically pings each host and let's me know that everybody is up  
> and running.  Sometimes ntp on some of the machines runs astray and  
> I wanted to have that script also tell me the time and date on each  
> machine.
>


So run a client that checks the time, and parse the output.  Or use  
Net::NTP.


--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance






More information about the SanFrancisco-pm mailing list