Hello,

On Wed, Jul 14, 2010 at 04:20:39PM -0400, Eric Covener wrote:
> On Wed, Jul 14, 2010 at 4:14 PM, Michael Powe <mich...@trollope.org> wrote:
> > Hello,
> >
> > Is there a way for me to list out the loaded shared modules in Apache
> > 2.0.63? `./httpd -l' lists the compiled-in modules but other methods
> > I've tried do not work, e.g. `./httpd -t -D DUMP_MODULES' and the -M
> > option apparently wasn't invented at the time of this version.
> 
> You can use something external like lsof/pmap/gdb to just look at what
> libs are loaded.

Thank you.  `lsof | grep httpd | grep modules' did the trick.


httpd     6613   www-data  mem       REG        8,1     18192 136074 
/opt/IBMIHS/modules/mod_mime.so
httpd     6613   www-data  mem       REG        8,1      8541 136062 
/opt/IBMIHS/modules/mod_env.so
httpd     6613   www-data  mem       REG        8,1     53780 136061 
/opt/IBMIHS/modules/mod_log_config.so
httpd     6613   www-data  mem       REG        8,1     33950 136072 
/opt/IBMIHS/modules/mod_proxy_ftp.so
httpd     6613   www-data  mem       REG        8,1     54147 136068 
/opt/IBMIHS/modules/mod_unique_id.so
httpd     6614   www-data  mem       REG        8,1      7215 136836 
/opt/IBMIHS/modules/mod_helloworld.so
httpd     6614   www-data  mem       REG        8,1      9929 136052 
/opt/IBMIHS/modules/mod_access.so
httpd     6614   www-data  mem       REG        8,1     33419 136077 
/opt/IBMIHS/modules/mod_autoindex.so
httpd     6614   www-data  mem       REG        8,1     34531 136080 
/opt/IBMIHS/modules/mod_cgid.so
httpd     6614   www-data  mem       REG        8,1     10914 136053 
/opt/IBMIHS/modules/mod_auth.so
httpd     6614   www-data  mem       REG        8,1    800527 136840 
/opt/IBMIHS/modules/mod_jk.so


Much appreciated.

mp

-- 
Michael Powe            mich...@trollope.org            Naugatuck CT USA
The only advice I can give anybody who is about to go out into the world is
this: Don't do it. I have been out there. It is a mess. 
-- Russell Baker, commencement address, Gould Academy, 2003

Attachment: pgpZtxYF8l5VY.pgp
Description: PGP signature

Reply via email to