<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Just to add an alternative for the records, 'kamctl core.psa'
      returns more details for running processes, including the rank --
      it it's value is greater than 0, then it should be a SIP receiver
      worker.</p>
    <p><br>
    </p>
    <p>Cheers,<br>
      Daniel</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 09.02.22 12:51, Patrick Karton
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:AM0PR0402MB3778D3CF7F0AE5D8D925C8E8DF2E9@AM0PR0402MB3778.eurprd04.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        thanks a lot Daniel. great and more clean output indeed.</div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>De :</b>
          Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
          <b>Envoyé :</b> mercredi 9 février 2022 08:24<br>
          <b>À :</b> Kamailio (SER) - Users Mailing List
          <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a>; Patrick Karton
          <a class="moz-txt-link-rfc2396E" href="mailto:patrickarton@hotmail.com"><patrickarton@hotmail.com></a><br>
          <b>Objet :</b> Re: [SR-Users] get kamailio sip processes id</font>
        <div> </div>
      </div>
      <div>
        <p>The approach is similar, but you can use 'kamctl ps' which
          returns a json document that can be parsed with jq for a more
          structured navigation.</p>
        <p><br>
        </p>
        <p>Cheers,<br>
          Daniel<br>
        </p>
        <p><br>
        </p>
        <div class="x_moz-cite-prefix">On 08.02.22 17:39, Patrick Karton
          wrote:<br>
        </div>
        <blockquote type="cite">
          <style type="text/css" style="display:none">p
        {margin-top:0;
        margin-bottom:0}</style>
          <div style="font-family:Calibri,Arial,Helvetica,sans-serif;
            font-size:12pt; color:rgb(0,0,0)">
            thanks a lot james.</div>
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="x_divRplyFwdMsg" dir="ltr"><font
              style="font-size:11pt" face="Calibri, sans-serif"
              color="#000000"><b>De :</b> sr-users
              <a class="x_moz-txt-link-rfc2396E"
                href="mailto:sr-users-bounces@lists.kamailio.org"
                moz-do-not-send="true">
                <sr-users-bounces@lists.kamailio.org></a> de la
              part de James Browne <a class="x_moz-txt-link-rfc2396E"
                href="mailto:james@frideo.com" moz-do-not-send="true">
                <james@frideo.com></a><br>
              <b>Envoyé :</b> mardi 8 février 2022 13:31<br>
              <b>À :</b> Kamailio (SER) - Users Mailing List <a
                class="x_moz-txt-link-rfc2396E"
                href="mailto:sr-users@lists.kamailio.org"
                moz-do-not-send="true">
                <sr-users@lists.kamailio.org></a><br>
              <b>Objet :</b> Re: [SR-Users] get kamailio sip processes
              id</font>
            <div> </div>
          </div>
          <div class="x_BodyFragment"><font size="2"><span
                style="font-size:11pt">
                <div class="x_PlainText">Maybe you can try the `kamcmd
                  ps` command. Something like this may work for you.<br>
                  <br>
                  top -c -p $(kamcmd ps | grep receiver | awk '{ print
                  $1 }' | xargs | tr ' ' ,)<br>
                  <br>
                  James<br>
                  <br>
                  On Tue, 8 Feb 2022 at 11:26, Patrick Karton <a
                    class="x_moz-txt-link-rfc2396E"
                    href="mailto:patrickarton@hotmail.com"
                    moz-do-not-send="true">
                    <patrickarton@hotmail.com></a> wrote:<br>
                  ><br>
                  > hello,<br>
                  > as we are all aware kamailio create a lot of
                  processes for many tasks.<br>
                  ><br>
                  > im using kamailio in kubernetes and i would like
                  to monitor only sip processes with top command.<br>
                  ><br>
                  > i only need a way to get only kamailio sip
                  processes id (udp receiver that handle sip request) .<br>
                  ><br>
                  > but i dont knwo how to get it.<br>
                  ><br>
                  > top -c -p id1,id2,id3,id4<br>
                  ><br>
                  ><br>
                  > Thanks<br>
                  >
                  __________________________________________________________<br>
                  > Kamailio - Users Mailing List - Non Commercial
                  Discussions<br>
                  >   * <a class="x_moz-txt-link-abbreviated
                    moz-txt-link-freetext"
                    href="mailto:sr-users@lists.kamailio.org"
                    moz-do-not-send="true">
                    sr-users@lists.kamailio.org</a><br>
                  > Important: keep the mailing list in the
                  recipients, do not reply only to the sender!<br>
                  > Edit mailing list options or unsubscribe:<br>
                  >   * <a
                    href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                    class="x_moz-txt-link-freetext
                    moz-txt-link-freetext" moz-do-not-send="true">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                  <br>
__________________________________________________________<br>
                  Kamailio - Users Mailing List - Non Commercial
                  Discussions<br>
                    * <a class="x_moz-txt-link-abbreviated
                    moz-txt-link-freetext"
                    href="mailto:sr-users@lists.kamailio.org"
                    moz-do-not-send="true">
                    sr-users@lists.kamailio.org</a><br>
                  Important: keep the mailing list in the recipients, do
                  not reply only to the sender!<br>
                  Edit mailing list options or unsubscribe:<br>
                    * <a
                    href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                    class="x_moz-txt-link-freetext
                    moz-txt-link-freetext" moz-do-not-send="true">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                </div>
              </span></font></div>
          <br>
          <fieldset class="x_moz-mime-attachment-header"></fieldset>
          <pre class="x_moz-quote-pre">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="x_moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="x_moz-txt-link-freetext moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
        </blockquote>
        <pre class="x_moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="x_moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="x_moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="x_moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
  Feb 21-24, 2022 (America Timezone)
  * <a class="x_moz-txt-link-freetext moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/" moz-do-not-send="true">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
  Feb 21-24, 2022 (America Timezone)
  * <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </body>
</html>