Hello,
there were no changes to this part of code in 3.2.x, what was the previous version you used?
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.
Cheers,
Daniel
On 2/6/12 9:51 AM, Uri Shacked wrote:Hi,i am using some math to send to my NOC the memory usage of kamailio.this is what i do:$var(xxx)=$stat(real_used_size)*100/$stat(total_size)before the 3.2.2 upgrade, i usualy got regular results - 3,5,20 etc....now, i get results like -8, -32 and so...any ideas why?here are the $stat numbers that gets me the -8 result:$stat(real_used_size)=31899516$stat(total_size)=134217728
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users-- Daniel-Constantin Mierla -- http://www.asipto.com http://linkedin.com/in/miconda -- http://twitter.com/miconda