<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span></span></div><div>Can someone please help me on my below query :-</div><div>&nbsp;</div><div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>In my environment there are 5 jboss instances which are running on <span style="font-weight: bold;">same machine &amp; having same JNP port number.</span></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'><br></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>I want to know that using TWIDDLE command how can we uniquely connect to each of the
 instance.</div><div><br></div><div style="background-color: transparent;">Please suggest i don't know much about it</div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'><br></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>Thanks</div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>Vicky<var id="yui-ie-cursor"></var></div></div>&nbsp; <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204,
 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <b><span style="font-weight: bold;">From:</span></b> vicky &lt;vicky007aggarwal@yahoo.co.in&gt;<br> <b><span style="font-weight: bold;">To:</span></b> "jboss-user@lists.jboss.org" &lt;jboss-user@lists.jboss.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, 10 December 2012 12:14 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> [jboss-user] Fw: [Beginner's Corner] - Re: Twiddle queries<br> </font> </div> <wbr><div id="yiv87580438"><div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><div><br></div><div style='font-family: "times new roman", "new york", times, serif; font-size: 12pt;'><div style='font-family: "times new roman", "new york", times, serif; font-size: 12pt;'><div id="yiv87580438"><div><div style='color:
 rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 12pt; background-color: rgb(255, 255, 255);'><div style='font-family: "times new roman", "new york", times, serif; font-size: 12pt;'><span>Thanks&nbsp;</span><a style="outline: 0px; color: rgb(35, 71, 134); font-family: Arial, Helvetica, sans-serif; font-size: 12px;" href="https://community.jboss.org/people/erasmomarciano" rel="nofollow" target="_blank">erasmo2</a>&nbsp;for your prompt reply</div><div style='font-family: "times new roman", "new york", times, serif; font-size: 12pt;'><br></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>I have already defined<span style="font-weight: bold;"> JAVA_HOME</span> variable( using JDK 1.6.21) , is there any particular "jar" which i need to include to CLASSPATH variable for fixing the below TWIDDLE
 exception.</div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'><br></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>In my environment there are 5 jboss instances which are running on <span style="font-weight: bold;">same machine &amp; having same JNP port number.</span></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'><br></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>I want to know that using TWIDDLE command how can we uniquely connect to each of the instance.</div><div><br></div><div
 style="background-color: transparent;">Please suggest i&nbsp;don't&nbsp;know much about it</div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'><br></div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>Thanks</div><div style='color: rgb(0, 0, 0); font-family: "times new roman", "new york", times, serif; font-size: 16px; font-style: normal; background-color: transparent;'>Vicky</div><div style='font-family: "times new roman", "new york", times, serif; font-size: 12pt;'><br></div>  <div style='font-family: "times new roman", "new york", times, serif; font-size: 12pt;'> <div> <div dir="ltr"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0;
 font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <b><span style="font-weight: bold;">From:</span></b> erasmo2 marciano2 &lt;do-not-reply@jboss.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> vicky sedfre &lt;vicky007aggarwal@yahoo.co.in&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, 10 December 2012 12:01 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Beginner's Corner] - Re: Twiddle queries<br> </font> </div> <wbr><div id="yiv87580438">

<div>

<div>
        <table style="border: 1px solid rgb(218, 218, 218); width: 100%; margin-bottom: 30px;" border="0" cellSpacing="0" cellPadding="0" bgColor="#ffffff">
                <tbody>
                        <tr>

                                <td>

                                        <table style="background: rgb(218, 218, 218); border: 2px solid rgb(204, 204, 204); width: 100%;" border="0" cellSpacing="0" cellPadding="0" bgColor="#ffffff">
                                                <tbody>
                                                        <tr>
                                                                <td style="padding: 20px; border-bottom-color: rgb(204, 204, 204); border-bottom-width: 1px; border-bottom-style: solid;" bgColor="#000000" height="58" vAlign="middle">
                                                                        <h1 style="font: bold 22px/normal Arial, Helvetica, sans-serif; margin: 0px; color: rgb(51, 51, 51); display: block;">
                                                                        
                                                                        
                                                                        
                                                                        <a style="color: rgb(225, 225, 225); text-decoration: none;" href="https://community.jboss.org/index.jspa" rel="nofollow" target="_blank">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td style="font: 12px/normal Arial, Helvetica, sans-serif; padding: 20px; color: rgb(51, 51, 51);" bgColor="#ffffff"><h3 style="margin: 10px 0px 5px; font-size: 17px; font-weight: normal;">
    Re: Twiddle queries
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/erasmomarciano" rel="nofollow" target="_blank">erasmo2 marciano2</a> in <i>Beginner's Corner</i> - <a href="https://community.jboss.org/message/782230#782230" rel="nofollow" target="_blank">View the full discussion</a>
</span>
<div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>

<div class="yiv87580438jive-rendered-content"><div>Hi</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>1) I think that you <span style='color: rgb(85, 85, 85); font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);'> need to install either the OpenJVM or the Sun/Oracle JVM, and then set JAVA_HOME to that JVM.</span></div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px;
 height: 8pt; min-height: 8pt;">&nbsp;</div><div>2) and 3) question</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>Example that you can use with twiddle</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>To get the active session count for your own app.</div><div>./twiddle.sh --user=admin --password=admin --server=127.0.0.1 get jboss.web:type=Manager,path=/jmx-console,host=localhost activeSessions</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>To retrieve the thread queue size</div><div>./twiddle.sh --user=admin --password=admin --server=127.0.0.1 get jboss.system:service=ThreadPool QueueSize</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>To retrieve active thread counts</div><div>./twiddle.sh
 --user=admin
 --password=admin --server=127.0.0.1 get jboss.system:type=ServerInfo ActiveThreadCount</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>To retrieve the amount of free memory</div><div>./twiddle.sh --user=admin --password=admin --server=127.0.0.1 get jboss.system:type=ServerInfo FreeMemory</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>To get all processing stats from the HTTP acceptor on JBoss</div><div>./twiddle.sh --user=admin --password=admin --server=127.0.0.1 get jboss.web:type=GlobalRequestProcessor,name=http-127.0.0.1-8080</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>Invoke a thread dump</div><div>./twiddle.sh --user=admin --password=admin
 --server=127.0.0.1 invoke
 jboss.system:type=ServerInfo listThreadDump</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>Invoke a listing of CPU utilization</div><div>./twiddle.sh --user=admin --password=admin --server=127.0.0.1 invoke jboss.system:type=ServerInfo listThreadCpuUtilization</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>Total System memory</div><div>./twiddle.sh --user=admin --password=admin --server=127.0.0.1 get jboss.system:type=ServerInfo TotalMemory</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div style="padding: 0px; height: 8pt; min-height: 8pt;">&nbsp;</div><div>Active Thread Count</div><div>./twiddle.sh --user=admin --password=admin --server=127.0.0.1 get jboss.system:type=ServerInfo
 ActiveThreadCount</div><div>~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div><div>~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div></div>

<div style="padding: 10px; margin-top: 20px; background-color: rgb(244, 244, 244);">
    <div style="margin: 0px;">Reply to this message by <a href="https://community.jboss.org/message/782230#782230" rel="nofollow" target="_blank">going to Community</a></div>
        <div style="margin: 0px;">Start a new discussion in Beginner's Corner at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&amp;containerType=14&amp;container=2075" rel="nofollow" target="_blank">Community</a></div>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</div>
</div><wbr><wbr> </div> </div>  </div></div></div><wbr><wbr> </div> </div>  </div></div></div><wbr>_______________________________________________<wbr>jboss-user mailing list<wbr><a href="mailto:jboss-user@lists.jboss.org" ymailto="mailto:jboss-user@lists.jboss.org">jboss-user@lists.jboss.org</a><wbr><a href="https://lists.jboss.org/mailman/listinfo/jboss-user" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-user</a><wbr><wbr><wbr> </div> </div>  </div></body></html>