<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    there were no changes to this part of code in 3.2.x, what was the
    previous version you used?<br>
    <br>
    Also, note that the variables work with signed integers, which have
    the range -2147483648 to 2147483647. So when you pass over
    2147483647, it gets negative.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 2/6/12 9:51 AM, Uri Shacked wrote:
    <blockquote
cite="mid:CAMMbDhRUw6ceoWvotAMeM1y=B5rhuM_edDn2Se=TLDTU5U41ag@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div>&nbsp;</div>
        <div>i am using some math to send to my NOC the memory usage of
          kamailio.</div>
        <div>this is what i do:</div>
        <div>&nbsp;</div>
        <div>$var(xxx)=$stat(real_used_size)*100/$stat(total_size)</div>
        <div>&nbsp;</div>
        <div>before the 3.2.2 upgrade, i usualy got regular results -
          3,5,20 etc....</div>
        <div>&nbsp;</div>
        <div>now, i get results like -8, -32 and so...</div>
        <div>&nbsp;</div>
        <div>any ideas why?</div>
        <div>&nbsp;</div>
        <div>here are the $stat numbers that gets me the -8 result:</div>
        <div>$stat(real_used_size)=31899516</div>
        <div>$stat(total_size)=134217728</div>
        <div>&nbsp;</div>
        <div>&nbsp;</div>
        <div>&nbsp;</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>