If this is in the guide forgive me.
Hopefully you are using a perlstartup.pl or something similar to load most
main modules at server start time. If you are make sure you have:
Apache::Status
Apache::DBI
in that order in that file (they should also be above the use DBI if you have
it). Then if you have perl-status enabled you will be able to see how many
connections you have living at any given time.
Aaron Johnson
Stas Bekman wrote:
> On Sat, 2 Dec 2000, Edmar Edilton da Silva wrote:
>
> > Hi folks,
> >
> > I am not sure if my perl scripts are running under Apache::DBI.
> > How can I check if they are using database connections which was already
> > openned. Is there any command that I can add to the perl script for it
> > tell me if was opens a new connection with the database or if it used a
> > connection already opened?
> > Thanks for any help!!!
>
> perldoc Apache::DBI
> (hint: /DEBUG)
> or
> http://perl.apache.org/guide
> (hint: databases)
>
> _____________________________________________________________________
> Stas Bekman JAm_pH -- Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED] http://apachetoday.com http://jazzvalley.com
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]