ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to check JVM Heap size for Execution Group

Post new topic  Reply to topic
 How to check JVM Heap size for Execution Group « View previous topic :: View next topic » 
Author Message
Rahul999
PostPosted: Mon Nov 24, 2008 12:32 am    Post subject: How to check JVM Heap size for Execution Group Reply with quote

Centurion

Joined: 14 Mar 2007
Posts: 134

Hi All,

Is there any way I can check the JVM min and max heap size for a particular execution group ?

Regards,
Rahul
Back to top
View user's profile Send private message Send e-mail Visit poster's website
madhuthetom@yahoo.com
PostPosted: Fri Apr 24, 2009 6:03 am    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2009
Posts: 5

Raghul

If u use CMP API you can use it , here is the sample code

public HashMap getExecutionGroupParameters(ExecutionGroupProxy aEgProxyObj) {
String minJvmHeapSize=null;
String maxJvmHeapSize=null;
String debugPort = null;
HashMap<String, String> executionGroupParameter = new HashMap<String, String>();

try {
maxJvmHeapSize = aEgProxyObj.getRuntimeProperty("ComIbmJVMManager/jvmMaxHeapSize");
executionGroupParameter.put("maxJvmHeapSize", maxJvmHeapSize);
minJvmHeapSize = aEgProxyObj.getRuntimeProperty("ComIbmJVMManager/jvmMinHeapSize");
executionGroupParameter.put("minJvmHeapSize", minJvmHeapSize);
debugPort = aEgProxyObj.getRuntimeProperty("ComIbmJVMManager/jvmDebugPort");
executionGroupParameter.put("debugPort", debugPort);

}
catch (ConfigManagerProxyPropertyNotInitializedException e) {
e.printStackTrace();
}
return executionGroupParameter;
}
Back to top
View user's profile Send private message
sknrt1
PostPosted: Tue Apr 28, 2009 9:12 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jan 2003
Posts: 39
Location: USA

Hi Rahul999,
need a clarification on the question?
Are you looking to report the jvm (min /max) parameters being set for an exgrp?
This can be obtained by mqsireportproperties command as follows:
mqsireportproperties BrokerName -e ExgrpName -o ComIbmJVMManager -a

Also, as suggested by "madhuthetom", you can use CMP API.

(OR)


Are you looking to check the value of heap size occupied by exgrp jvm at a given point (while exgrp is in running state)?

There may not be any broker commands or API to provide the information of jvm size occupied by an exgrp at a given point.
option1) set the following in broker profile or so...
export MQSIJVERBOSE=-verbose:gc
This way, broker publishes an xml msg with details of exgrp jvm.
We have seen that, it only publishes, when the exgrp starts up, not after that (ie: not periodically or so..)

option2) Probably you can explore on topic "JVM profiling"
There may be tools (or app), which can connect to JVMDebugPort of an exgrp to query jvm value at a given point.
_________________
------------------------------------------
sk
MQ User since 2001
Message Broker User since 2001

IBM Certified
Solution Designer - WebSphere MQ
Solution Developer - Message Broker
Back to top
View user's profile Send private message
madhuthetom@yahoo.com
PostPosted: Fri May 01, 2009 12:17 pm    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2009
Posts: 5

Hey did u try doing the JVM profiling, I am trying to do it, Any help or inputs>?
Back to top
View user's profile Send private message
Rahul999
PostPosted: Wed May 06, 2009 10:05 pm    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2007
Posts: 134

Quote:
Are you looking to report the jvm (min /max) parameters being set for an exgrp?
This can be obtained by mqsireportproperties command as follows:
mqsireportproperties BrokerName -e ExgrpName -o ComIbmJVMManager -a


Thanks SKNRT1, above command worked!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ovasquez
PostPosted: Wed May 06, 2009 10:34 pm    Post subject: Reply with quote

Centurion

Joined: 09 Dec 2005
Posts: 141
Location: Lima, Peru

OR..use GUI CMP Excercise.
_________________
Oscar Vásquez Flores
Back to top
View user's profile Send private message Send e-mail
manojsu
PostPosted: Mon Jun 22, 2009 2:59 am    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2006
Posts: 147
Location: Bangalore

where does the garbage collection data be outputted to???
location of the file
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to check JVM Heap size for Execution Group
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.