JVM heap size/properties by using wsadmin utillity
——————————
1.)Type below command from wsadmin prompt
——————————
wsadmin>$AdminTask showJVMProperties {-serverName server1 -nodeName myhostNode01}
Output
——–
{classpath {}} {bootClasspath {}} {verboseModeClass false} {verboseModeGarbageCollection false} {verboseModeJNI false} {initialHeapSize 258} {maximumHeapSize 512} {runHProf false} {hprofArguments {}} {debugMode false} {debugArgs -agentlib:jdwp=transport=dt_so
OR
2.)Type below command from the OS prompt
——————————
[root@myhost bin]# ./wsadmin.sh -c ‘$AdminTask showJVMProperties {-serverName server1 -nodeName
myhostNode01}’
Output
——–
Realm/Cell Name: <default>
Username: root
Password:
WASX7209I: Connected to process “dmgr” on node myhostCellManager01 using SOAP connector; The type of process is: DeploymentManager
{classpath {}} {bootClasspath {}} {verboseModeClass false} {verboseModeGarbageCollection false} {verboseModeJNI false} {initialHeapSize 258} {maximumHeapSize 512} {runHProf false} {hprofArguments {}} {debugMode false} {debugArgs -agentlib:jdwp=transport=dt_so
OR
3.)Type below command from the OS prompt
——————————
[root@myhost bin]# ./wsadmin.sh -c “\$AdminTask showJVMProperties {-serverName server1 -nodeName
myhostNode01}”
Output
———
Realm/Cell Name: <default>
Username: root
Password:
WASX7209I: Connected to process “dmgr” on node
myhostCellManager01 using SOAP connector; The type of process is: DeploymentManager
{classpath {}} {bootClasspath {}} {verboseModeClass false} {verboseModeGarbageCollection false} {verboseModeJNI false} {initialHeapSize 258} {maximumHeapSize 512} {runHProf false} {hprofArguments {}} {debugMode false} {debugArgs -agentlib:jdwp=transport=dt_so
Note:- Kindly note that the difference between second and third command is only the quotes,Commands
inside a double quotes require \ prefix for $ symbol.
Recent Comments