Re: Network Connectivity help please
| From: | Chris Sano | Date: | Sun, 20 May 2001 19:30:00 +0000 |
| Subject: | Re: Network Connectivity help please | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53628@lists.php.net to get a copy of this message | ||
You could always do a cron job and have a script run every 10-15 minutes,
load the existing and connecting IP's in a text file and use another script
to print out the latest successful pings.
-C
""Brian"" <as0k@excite.com> wrote in message
news:9e4msm$e5a$1@toye.p.sourceforge.net...
> Good point, I considered, doing it that way, I was just hoping that there
> might be a 'prettier' way to do it from within PHP. Right now I'm using
> fping from within a php loop that steps through the class C. The machine
> I'm doing this on is dog slow though, so I'm hoping that when I move the
> final version over to our main webserver it will run the script at an
> acceptable speed. If not though, I have a feeling that I will most likely
> implement your suggestion, unless someone knows of the 'pretty' solution
> that I seek :)
>
> Brian
> "He did not know the strength of my Kung fu"
> --Wong Fei Hung "The Iron Monkey"
>
> "Mohamed LRHAZI" <mohamed@lrhazi.com> wrote in message
> news:3B05D2D2.5C8E452B@lrhazi.com...
> > Brian,
> >
> > Why don't leave the "pinging" to some other script, and have that other
> > script run continuesouly and upfate a sql table with the ststus of each
> > and time stamp of when it was last ping'ed...etc
> >
> > Mohamed~
> >
> > Brian wrote:
> > >
> > > I'm writing a script to help us manage one of our Class C networks.
The
> > > page loads all of the host IPs, who owns them, phys desc. of the box,
> and
> > > does a forward reverse lookup on all of the addresses. I'd like to
add
> a
> > > column that shows which machines are currently reachable on the
network.
> A
> > > simple ping would probably be easiest, but parsing a standard ping for
> 254
> > > hosts would cause the script to have about a 10 minute load time. are
> there
> > > any quick easy, and most importly, low system overhead, solutions to
> this
> > > problem?
> > >
> > > Brian Artiaco
> > > as0k@excite.com
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>