[OpenSIPS-Users] Need help to print Shared memory and package memory used in opensips in logs .
Sasmita Panda
spanda at 3clogic.com
Tue Mar 6 06:02:47 EST 2018
version: opensips 1.11.2-notls (x86_64/linux)
flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svn revision: 2537:3262M
main.c compiled on 13:20:22 Nov 15 2017 with gcc 4.8.3
This is what exactly I am using .
*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
On Tue, Mar 6, 2018 at 4:27 PM, Sasmita Panda <spanda at 3clogic.com> wrote:
> Hi All ,
>
> I am using opensips-1.11.2 .
>
> *xlog("Real SHMEM used size is $stat(real_used_size) \n");*
>
>
> Trying to print logs through this but its not working . giving below error
> .
>
> * ERROR:core:pv_parse_spec: pvar "stat"(inner_name) not found*
> * ERROR:core:pv_parse_spec: wrong char [$/36] in [$stat($real_used_size)
> #012] at [6 (5)]*
> * ERROR:core:pv_parse_format: parsing PV spec failed*
> * ERROR:core:fix_actions: wrong format [Real SHMEM used size is
> $stat($real_used_size) #012] for value param*
> * ERROR:core:fix_actions: fixing failed (code=-5) at cfg line 78*
> * ERROR:core:main: failed to fix configuration with err code -5*
> * INFO:core:cleanup: cleanup*
>
> Please help me how to do this . Thanks in advance .
>
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180306/ea1d31c3/attachment.html>
More information about the Users
mailing list