<p>groups of modules can be defined in the .cfg file that would lead<br>
to statistics being generated with the number of fragments, used memory<br>
and real-used memory by those modules.<br>
The global fragments statistics now show the nuber of fragments alocated<br>
and in use.(for q_malloc, f_malloc) Please enter the commit message for your changes. Lines starting Please enter the commit message for your changes. Lines starting</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/659'>https://github.com/OpenSIPS/opensips/pull/659</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>add configurable statistics about shared memory usage</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-0">Makefile.modules</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-1">Makefile.rules</a>
    (17)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-2">cfg.lex</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-3">cfg.y</a>
    (73)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-4">dprint.h</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-5">mem/f_malloc.c</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-6">mem/f_malloc.h</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-7">mem/hp_malloc.c</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-8">mem/hp_malloc.h</a>
    (2)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-9">mem/module_info.c</a>
    (62)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-10">mem/module_info.h</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-11">mem/q_malloc.c</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-12">mem/q_malloc.h</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-13">mem/shm_mem.c</a>
    (102)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-14">mem/shm_mem.h</a>
    (118)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-15">modules/cpl-c/Makefile</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-16">statistics.c</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/659/files#diff-17">statistics.h</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/659.patch'>https://github.com/OpenSIPS/opensips/pull/659.patch</a></li>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/659.diff'>https://github.com/OpenSIPS/opensips/pull/659.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/659">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcibnCf6HlLM4gbg3LJk475EOQd7J9ks5o3RgSgaJpZM4GHNJe.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/pull/659"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>