<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">Attila,<br><br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">If you want to check the individual node status, then pcp_node_info is useful. <br>

<br>/&lt;pgpool_bin_path&gt;/pcp_node_info 10 localhost pcp_port postgres password 0 | awk &#39;{print$3}&#39;]<br><br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">2 means it&#39;s up and connected.<br>

<br><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><span style="color:rgb(68,68,68)"><font face="georgia,serif">Regards,<br></font></span></div><font face="georgia,serif"><span style="color:rgb(68,68,68)">Granthana</span><br>

</font></div></div>
<br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 3:07 PM, Attila Heidrich <span dir="ltr">&lt;<a href="mailto:attila.heidrich@gmail.com" target="_blank">attila.heidrich@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div dir="ltr">Dear guys!<div><br></div><div>What command or script do u use for asking the pgpool&#39;s current status?</div><div>I have written a small wrapper for pcp. Since pcp is available on all nodes running pgpool2, I have setup the target IP for 217.0.0.1.</div>



<div><br></div><div>Am I right, that I should have the same result asking the same thing on all the nodes? Or should I use the common address, not the local one? It&#39;s a good way to have consistent results (mainly) all the time for sure, but what&#39;s recommended?</div>



<div><br></div><div><br></div><div>regards,</div><div>Attila</div></div>
<br>_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
<br></blockquote></div><br></div></div>