[SR-Users] kamctl ps in 1.5.0 equivallent in 3.1.2
Renan Capaverde
renan.capaverde at digitro.com.br
Mon Apr 16 16:53:35 CEST 2012
Thanks for the reply,
I do not have kex module loaded on kamailio 3.1.2 and neither on
kamailio 1.5.0 but in 1.5.0 '*kamctl ps*' works just fine.
The output of 'kamctl fifo which' is:
*500 command 'which' not available
*And the output of 'sercmd ps' is:
*ERROR: connect_unix_sock: connect(/tmp/ser_ctl): No such file or
directory [2]*
Then, i created the file with 'touch /tmp/ser_ctl' and got the following
output:
*ERROR: connect_unix_sock: connect(/tmp/ser_ctl): Connection refused [111]
*So, loading the kex module will provide the ps feature on kamailio
3.1.2? Because in version 1.5.0 I don't use it and kamctl ps works.
Regards,
*
*Em 14/4/2012 05:18, Daniel-Constantin Mierla escreveu:
> Hello,
>
> it should be there, do you have kex module loaded? Can you look at the
> output of:
>
> 'kamctl fifo which'
>
> There is also an alternative, via sercmd tool -- start sercmd and then
> you have ps command or just run 'sercmd ps'. But again, the command
> should be in kamctl as well.
>
> Cheers,
> Daniel
>
> On 4/13/12 2:19 PM, Renan Capaverde wrote:
>> Hello list,
>>
>> In kamailio 1.5.0 there is one command called 'ps'. Which when
>> executed produces an output similar to:
>> Process:: ID=0 PID=29533 Type=attendant
>> Process:: ID=1 PID=29537 Type=SIP receiver udp:192.168.166.75:5060
>> Process:: ID=2 PID=29538 Type=SIP receiver udp:192.168.166.75:5060
>> Process:: ID=3 PID=29539 Type=SIP receiver udp:192.168.166.75:5060
>> Process:: ID=4 PID=29540 Type=SIP receiver udp:192.168.166.75:5060
>> Process:: ID=5 PID=29541 Type=timer
>> Process:: ID=6 PID=29542 Type=timer
>> Process:: ID=7 PID=29543 Type=MI FIFO
>> Process:: ID=8 PID=29544 Type=TCP receiver
>> Process:: ID=9 PID=29545 Type=TCP receiver
>> Process:: ID=10 PID=29546 Type=TCP receiver
>> Process:: ID=11 PID=29547 Type=TCP receiver
>> Process:: ID=12 PID=29548 Type=TCP main
>>
>> In kamailio 3.1.2, I get the following output:
>> *500 command 'ps' not available
>>
>> *Is there any equivalent for *kamctl ps* in version 3.1.2?
>>
>> Regards,
>>
>>
>> --
>>
>>
>> *Renan Capaverde*
>> /Estagiário Nível Superior/
>> /DDT - STE - Soluções em Tecnologia e Embarcados/
>>
>> *DÍGITRO TECNOLOGIA*
>> *E-mail:* renan.capaverde at digitro.com.br
>> <mailto:renan.capaverde at digitro.com.br>
>> *Fone:* +55 48 3281-7000*Ramal:* 8132
>> *Fax:* +55 48 3281-7299
>> *Site:* www.digitro.com <http://www.digitro.com>
>>
>> /"Antes de imprimir, pense na sua responsabilidade e no seu
>> compromisso com o meio ambiente"/
>>
>> Esta mensagem, incluindo seus anexos, é reservada somente à Dígitro e
>> ao destinatário da mensagem. Caso você tenha recebido esta mensagem
>> por engano, queira por favor, retorná-la ao remetente e apagá-la de
>> seus arquivos.
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla
> Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
> http://www.asipto.com/index.php/kamailio-advanced-training/
--
*Renan Capaverde*
/Estagiário Nível Superior/
/DDT - STE - Soluções em Tecnologia e Embarcados/
*DÍGITRO TECNOLOGIA*
*E-mail:* renan.capaverde at digitro.com.br
<mailto:renan.capaverde at digitro.com.br>
*Fone:* +55 48 3281-7000*Ramal:* 8132
*Fax:* +55 48 3281-7299
*Site:* www.digitro.com <http://www.digitro.com>
/"Antes de imprimir, pense na sua responsabilidade e no seu compromisso
com o meio ambiente"/
Esta mensagem, incluindo seus anexos, é reservada somente à Dígitro e ao
destinatário da mensagem. Caso você tenha recebido esta mensagem por
engano, queira por favor, retorná-la ao remetente e apagá-la de seus
arquivos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120416/3d987623/attachment-0001.htm>
More information about the sr-users
mailing list