[sf-perl] remote host time
gatorreina at gmail.com
Sat Jul 5 11:38:43 PDT 2008
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.
2008/7/5 Andy Lester <andy at petdance.com>:
> On Jul 5, 2008, at 1:11 PM, Richard Reina wrote:
> Does anyone know how one might go about getting the date and time of a
>> remote host (on my LAN) from within a perl script assuming that I know the
>> remote machine's ip address?
> The "within a perl script" isn't the important part. It's knowing how the
> remote host is going to tell you what time it is. Is it running a time
> Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SanFrancisco-pm