Thanks as always Bogdan. I guess the bulk approach should meet my requirements for now. <br><br>Regards,<br>Nilanjan. <br><br><div class="gmail_quote">On Sat, Nov 10, 2012 at 1:07 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000">
<tt>Hi Nilanjan,<br>
<br>
The LB load info is available only via the MI interface, as it is
runtime info and not saved or present in DB.<br>
<br>
Now, you can get it bulk via lb_list (for all destinations, all
resources) or you can go under the hood and take them one at the
time (if interested) using the profile_get_size MI dialog
function:<br>
</tt><tt>profile_get_size </tt><tt>lbXRESOUCE_NAME
DESTINATION_URI<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
<br>
On 11/09/2012 05:09 PM, Nilanjan Banerjee wrote:
</div></div><blockquote type="cite"><div><div class="h5">Hello, <br>
<br>
Is there a way (some data structure may be) to access the
dynamic load balancer status table printed by the lb_list MI FIFO
command so that it's easier to parse the individual fields in the
records of that table? Or, is it that the only way is to print the
table and then parse it as a text file using some text processing
script? <br>
<br>
Thanks,<br>
Nil. <br>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</blockquote></div><br>