in reply to Re: Combining perl scripts
in thread Combining perl scripts

I'm trying to avoid reading those calculations about 2000-4000 times from the disk each 5 minutes.

I'd be loading them for each IP address graphed in mrtg and I have about 3000 IPs currently in usage.

Replies are listed 'Best First'.
Re^3: Combining perl scripts
by ayrnieu (Beadle) on Mar 20, 2006 at 00:38 UTC
    I'd suggest that your calculation program act as a daemon, then, and accept requests for information.
      Thanks.

      Never thought of that :)

      And it seems to be the easiest solution.