Yes the remote hosts are running ntpd. I have a basic script that periodically pings each host and let&#39;s me know that everybody is up and running.&nbsp; 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.<br>
<br><div class="gmail_quote">2008/7/5 Andy Lester &lt;<a href="mailto:andy@petdance.com">andy@petdance.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On Jul 5, 2008, at 1:11 PM, Richard Reina wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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&#39;s ip address?<br>
</blockquote>
<br>
<br></div>
The &quot;within a perl script&quot; isn&#39;t the important part. &nbsp;It&#39;s knowing how the remote host is going to tell you what time it is. &nbsp;Is it running a time service?<br>
<br>
xoa<br>
<br>
--<br>
Andy Lester =&gt; <a href="mailto:andy@petdance.com" target="_blank">andy@petdance.com</a> =&gt; <a href="http://www.petdance.com" target="_blank">www.petdance.com</a> =&gt; AIM:petdance<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
SanFrancisco-pm mailing list<br>
<a href="mailto:SanFrancisco-pm@pm.org" target="_blank">SanFrancisco-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/sanfrancisco-pm" target="_blank">http://mail.pm.org/mailman/listinfo/sanfrancisco-pm</a><br>
</blockquote></div><br>