Performance Evaluation of a Module

2012-02-08 Thread Oğuzhan TOPGÜL
Hi all, I have developed an apache module and i want to evaluate the performance of my module. I want to see how my module increases the load. I want to measure the effect of my module on processor and memory. I decided to set an evaluation environment using snmp and cacti. I'm sending thousands of

Re: Inject html into response body

2011-12-04 Thread Oğuzhan TOPGÜL
No, there is no particular web site whoose HTML is tailored for this purpose. At first i think this is not that much hard to add just a url or just a text at the end of the page as a footer. But now, i think this is not that much easy to apply. regards Oguzhan On Mon, Dec 5, 2011 at 12:44 AM, Joshu

Inject html into response body

2011-12-04 Thread Oğuzhan TOPGÜL
Hi, I' ve search for all the archieve but i couln't find the answer, may be i missed up, don't know. I'm trying to write an apache module and i want to inject some html code into resonses. It might be in body, header or footer. The only thing that i want to implemet is inserting an url or a text in

Re: Binary Tree Shared Memory Problem

2011-11-28 Thread Oğuzhan TOPGÜL
struct node { ELEMENT node_element; struct node *left; struct node *right; }NODE; kind of struct. A struct that has two struct elements. As i mentioned before what i'm trying to implement is a binary tree as a data structure. regards Oğuzhan TOPGÜL On Mon, Nov 28, 2011 at 11:

Binary Tree Shared Memory Problem

2011-11-27 Thread Oğuzhan TOPGÜL
it also changes the root node. the examle output of the attached code is like this (i'm printing the root node and the right leaf node) 193168221 193168221 they are same. what i'm expecting is 192168221 193168221 Do you have any advices? Oğuzhan TOPGÜL #include #include #include

Re: basic example shared memory code

2011-11-23 Thread Oğuzhan TOPGÜL
nlcok mutex If i'm right what is the problem with that code, do you have any ideas or advices about these segmentation faults. Oğuzhan TOPGÜL On Wed, Nov 23, 2011 at 12:39 AM, Sorin Manolache wrote: > On Tue, Nov 22, 2011 at 21:25, Oğuzhan TOPGÜL > wrote: > > hey guys, &g

Re: basic example shared memory code

2011-11-22 Thread Oğuzhan TOPGÜL
ch request from different sources. Regards, Oğuzhan TOPGÜL On Tue, Nov 22, 2011 at 9:14 PM, Oğuzhan TOPGÜL wrote: > Thank you guys so much. > What i want to do with shared memory is to hold the requester IPs and a > counter that holds how many times an IP made request. I'm planning to

basic example shared memory code

2011-11-22 Thread Oğuzhan TOPGÜL
red memory counter or etc. If you can send me a working example, i'll be appreciated because i'm very very confused and stuck about shared memory concepts. I just need a basic example code snippet thanks Oğuzhan TOPGÜL