[jboss-user] Fw: [Beginner's Corner] - Re: Twiddle queries

vicky vicky007aggarwal at yahoo.co.in
Sun Dec 9 13:44:17 EST 2012

Thanks erasmo2 for your prompt reply

I have already definedJAVA_HOME 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.

In my environment there are 5 jboss instances which are running on same machine & having same JNP port number.

I want to know that using TWIDDLE command how can we uniquely connect to each of the instance.

Please suggest i don't know much about it


 From: erasmo2 marciano2 <do-not-reply at jboss.com>
To: vicky sedfre <vicky007aggarwal at yahoo.co.in> 
Sent: Monday, 10 December 2012 12:01 AM
Subject: [Beginner's Corner] - Re: Twiddle queries

JBoss Community 
Re: Twiddle queries created by erasmo2 marciano2 in Beginner's Corner - View the full discussion  
1) I think that you need to install either the OpenJVM or the Sun/Oracle JVM, and then set JAVA_HOME to that JVM.
2) and 3) question
Example that you can use with twiddle
To get the active session count for your own app.
./twiddle.sh --user=admin --password=admin --server= get jboss.web:type=Manager,path=/jmx-console,host=localhost activeSessions
To retrieve the thread queue size
./twiddle.sh --user=admin --password=admin --server= get jboss.system:service=ThreadPool QueueSize
To retrieve active thread counts
./twiddle.sh --user=admin --password=admin --server= get jboss.system:type=ServerInfo ActiveThreadCount
To retrieve the amount of free memory
./twiddle.sh --user=admin --password=admin --server= get jboss.system:type=ServerInfo FreeMemory
To get all processing stats from the HTTP acceptor on JBoss
./twiddle.sh --user=admin --password=admin --server= get jboss.web:type=GlobalRequestProcessor,name=http-
Invoke a thread dump
./twiddle.sh --user=admin --password=admin --server= invoke jboss.system:type=ServerInfo listThreadDump
Invoke a listing of CPU utilization
./twiddle.sh --user=admin --password=admin --server= invoke jboss.system:type=ServerInfo listThreadCpuUtilization
Total System memory
./twiddle.sh --user=admin --password=admin --server= get jboss.system:type=ServerInfo TotalMemory
Active Thread Count
./twiddle.sh --user=admin --password=admin --server= get jboss.system:type=ServerInfo ActiveThreadCount
~                                                                                                                                                            &
Reply to this message by going to Community
Start a new discussion in Beginner's Corner at Community  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121210/bb03e531/attachment.html 

More information about the jboss-user mailing list