[SR-Users] strage result in math with $vars in 3.2.2
Uri Shacked
ushacked at gmail.com
Mon Feb 6 09:51:55 CET 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120206/2380f8e6/attachment.htm>
More information about the sr-users
mailing list