Re: Module reports busy workers
Yes, Mod_status shows in browser and writes in file. But mod_status writes in a file only when I stop apache. Ricardo Eric Covener wrote: > > On Wed, Aug 26, 2009 at 11:56 AM, ricardo13 > wrote: >> >> HI, >> >> How do I collect these informations in my module ? > > > Same way mod_status does? > > > -- > Eric Covener > cove...@gmail.com > > -- View this message in context: http://www.nabble.com/Module-reports-busy-workers-tp25151145p25156808.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.
Re: Module reports busy workers
Hi Eric, Really. I modified mod_status and now, it is work and writing information in a file. I'm using open_logs and log_transaction hooks. Ricardo Eric Covener wrote: > > On Wed, Aug 26, 2009 at 8:47 AM, ricardo13 > wrote: >> >> Hi, >> >> I would like to implement a module that write information (busy worker >> and >> idle worker) in file. >> When request is processed, It writes information (ap_log_hook). >> >> I use mod_status to recovery these information. I don't know about use >> these >> information in my module. > > mod_status is less than a thousand lines of code and already has all > of this logic. What part of mod_status are you having trouble > understanding, specifically? > > -- > Eric Covener > cove...@gmail.com > > -- View this message in context: http://www.nabble.com/Module-reports-busy-workers-tp25151145p25154169.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.
Re: Module reports busy workers
On Wed, Aug 26, 2009 at 11:56 AM, ricardo13 wrote: > > HI, > > How do I collect these informations in my module ? Same way mod_status does? -- Eric Covener cove...@gmail.com
Re: Module reports busy workers
HI, How do I collect these informations in my module ? Ricardo ricardo13 wrote: > > Hi, > > I would like to implement a module that write information (busy worker and > idle worker) in file. > When request is processed, It writes information (ap_log_hook). > > I use mod_status to recovery these information. I don't know about use > these information in my module. > > Ricardo > > -- View this message in context: http://www.nabble.com/Module-reports-busy-workers-tp25151145p25151432.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.
Re: Module reports busy workers
On Wed, Aug 26, 2009 at 8:47 AM, ricardo13 wrote: > > Hi, > > I would like to implement a module that write information (busy worker and > idle worker) in file. > When request is processed, It writes information (ap_log_hook). > > I use mod_status to recovery these information. I don't know about use these > information in my module. mod_status is less than a thousand lines of code and already has all of this logic. What part of mod_status are you having trouble understanding, specifically? -- Eric Covener cove...@gmail.com
Module reports busy workers
Hi, I would like to implement a module that write information (busy worker and idle worker) in file. When request is processed, It writes information (ap_log_hook). I use mod_status to recovery these information. I don't know about use these information in my module. Ricardo -- View this message in context: http://www.nabble.com/Module-reports-busy-workers-tp25151145p25151145.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.