Asynchronous SNMP?
| From: | Robert Schultz | Date: | Thu, 30 Aug 2001 12:11:20 +0000 |
| Subject: | Asynchronous SNMP? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65258@lists.php.net to get a copy of this message | ||
I'm working on a project that involves a lot of SNMP data gathering.
I was wondering if it's possible to have a multi-threaded PHP script.
Basically the SNMP queries I'm running are taking a long time to complete
(several seconds). However I found that running multiple at the same time
does not slow down the response time of any of the others. So I was
wondering how easy it would be to get 5 or 6 SNMP queries running at the
same time.
If PHP is unable to, I'm going to have to write a C/C++ app, that will do
it, then insert the results into a database. Then the PHP script will grab
from there.
Any suggestions?
--
Robert Schultz - robert.schultz@adelphiacom.com
Knowledge Engineer - Adelphia Communications