{"id":6345,"date":"2016-10-12T16:02:19","date_gmt":"2016-10-12T08:02:19","guid":{"rendered":"http:\/\/rmohan.com\/?p=6345"},"modified":"2016-10-12T16:02:19","modified_gmt":"2016-10-12T08:02:19","slug":"jvm-heap-sizeproperties-by-using-wsadmin-utillity","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6345","title":{"rendered":"JVM heap size\/properties by using wsadmin utillity"},"content":{"rendered":"<h3 class=\"post-title entry-title\">JVM heap size\/properties by using wsadmin utillity<\/h3>\n<div class=\"post-header\"><\/div>\n<div id=\"post-body-6640501933964686558\" class=\"post-body entry-content\">\n<div dir=\"ltr\">How to get JVM heap size\/properties by using wsadmin utillity<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<wbr \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>1.)Type below command from wsadmin prompt<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<wbr \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n<span class=\"text_exposed_show\">wsadmin&gt;$AdminTask showJVMProperties {-serverName server1 -nodeName myhostNode01}<\/p>\n<p>Output<br \/>\n&#8212;&#8212;&#8211;<br \/>\n{classpath {}} {bootClasspath {}} {verboseModeClass false} {verboseModeGarbageCollection false} {verboseModeJNI false} {initialHeapSize 258} {maximumHeapSize 512} {runHProf false} {hprofArguments {}} {debugMode false} {debugArgs -agentlib:jdwp=transport=dt_so<wbr \/>cket,server=y,suspend=n,addres<wbr \/>s=7777} {genericJvmArguments {}} {executableJarFileName {}} {disableJIT false} {osName {}} {internalClassAccessMode ALLOW}<\/p>\n<p>OR<\/p>\n<p>2.)Type below command from the OS prompt<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<wbr \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n[root@myhost bin]# .\/wsadmin.sh -c &#8216;$AdminTask showJVMProperties {-serverName server1 -nodeName<br \/>\nmyhostNode01}&#8217;<\/p>\n<p>Output<br \/>\n&#8212;&#8212;&#8211;<br \/>\nRealm\/Cell Name: &lt;default&gt;<br \/>\nUsername: root<br \/>\nPassword:<\/p>\n<p>WASX7209I: Connected to process &#8220;dmgr&#8221; on node myhostCellManager01 using SOAP connector; The type of process is: DeploymentManager<\/p>\n<p>{classpath {}} {bootClasspath {}} {verboseModeClass false} {verboseModeGarbageCollection false} {verboseModeJNI false} {initialHeapSize 258} {maximumHeapSize 512} {runHProf false} {hprofArguments {}} {debugMode false} {debugArgs -agentlib:jdwp=transport=dt_so<wbr \/>cket,server=y,suspend=n,addres<wbr \/>s=7777} {genericJvmArguments {}} {executableJarFileName {}} {disableJIT false} {osName {}} {internalClassAccessMode ALLOW}<\/p>\n<p>OR<\/p>\n<p>3.)Type below command from the OS prompt<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<wbr \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n[root@myhost bin]# .\/wsadmin.sh -c &#8220;\\$AdminTask showJVMProperties {-serverName server1 -nodeName<br \/>\nmyhostNode01}&#8221;<\/p>\n<p>Output<br \/>\n&#8212;&#8212;&#8212;<br \/>\nRealm\/Cell Name: &lt;default&gt;<br \/>\nUsername: root<br \/>\nPassword:<br \/>\nWASX7209I: Connected to process &#8220;dmgr&#8221; on node<br \/>\nmyhostCellManager01 using SOAP connector; The type of process is: DeploymentManager<\/p>\n<p>{classpath {}} {bootClasspath {}} {verboseModeClass false} {verboseModeGarbageCollection false} {verboseModeJNI false} {initialHeapSize 258} {maximumHeapSize 512} {runHProf false} {hprofArguments {}} {debugMode false} {debugArgs -agentlib:jdwp=transport=dt_so<wbr \/>cket,server=y,suspend=n,addres<wbr \/>s=7777} {genericJvmArguments {}} {executableJarFileName {}} {disableJIT false} {osName {}} {internalClassAccessMode ALLOW}<\/p>\n<p>Note:- Kindly note that the difference between second and third command is only the quotes,Commands<\/p>\n<p>inside a double quotes require \\ prefix for $ symbol.<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>JVM heap size\/properties by using wsadmin utillity How to get JVM heap size\/properties by using wsadmin utillity &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>1.)Type below command from wsadmin prompt &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- wsadmin&gt;$AdminTask showJVMProperties {-serverName server1 -nodeName myhostNode01}<\/p>\n<p>Output &#8212;&#8212;&#8211; {classpath {}} {bootClasspath {}} {verboseModeClass false} {verboseModeGarbageCollection false} {verboseModeJNI false} {initialHeapSize 258} {maximumHeapSize 512} {runHProf false} {hprofArguments {}} {debugMode false} {debugArgs -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777} [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6345"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6345"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6345\/revisions"}],"predecessor-version":[{"id":6346,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6345\/revisions\/6346"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}