Last active
August 29, 2015 14:13
-
-
Save antonmry/efe307a587388c3ecdfb to your computer and use it in GitHub Desktop.
Accessing Weblogic Runtime Information with WLST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. /<Weblogic Installation Dir>/ocsg510/wlserver_10.3/server/bin/setWLSEnv.sh | |
java weblogic.WLST | |
connect('weblogic','your_password','localhost:8001') | |
wls:/mydomain/serverConfig> domainRuntime() | |
wls:/mydomain/domainRuntime> cd('ServerRuntimes/myserver') | |
wls:/mydomain/domainRuntime/ServerRuntimes/myserver> cd('JVMRuntime/myserver')> | |
wls:/mydomain/domainRuntime/ServerRuntimes/myserver/JVMRuntime/myserver> ls() | |
# -r-- HeapFreeCurrent 158424456 | |
# -r-- HeapFreePercent 30 | |
# -r-- HeapSizeCurrent 518979584 | |
# -r-- HeapSizeMax 518979584 | |
# -r-- JavaVMVendor Sun Microsystems Inc. | |
# -r-- JavaVendor Sun Microsystems Inc. | |
# -r-- JavaVersion 1.6.0_29 | |
# -r-- Name AdminServer | |
# -r-- OSName Linux | |
# -r-- OSVersion 2.6.18-398.0.0.0.1.el5 | |
# -r-- Type JVMRuntime | |
# -r-- Uptime 5843238 | |
# | |
# -r-x preDeregister Void : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname -a | |
# Linux sdp 2.6.18-398.0.0.0.1.el5 #1 SMP Tue Sep 16 13:26:14 PDT 2014 i686 i686 i386 GNU/Linux | |
# i686 -> 64 bits | |
. <Domain dir>/<Server Name>/bin/setDomainEnv.sh | |
${JAVA_HOME}/bin/java ${JAVA_VM} -XX:+PrintFlagsFinal -version 2>&1 | grep -i -E 'heapsize|permsize|version' | |
# uintx AdaptivePermSizeWeight = 20 {product} | |
# uintx ErgoHeapSizeLimit = 0 {product} | |
# uintx InitialHeapSize := 33200192 {product} | |
# uintx LargePageHeapSizeThreshold = 134217728 {product} | |
# uintx MaxHeapSize := 532676608 {product} | |
# uintx MaxPermSize = 67108864 {pd product} | |
# uintx PermSize = 16777216 {pd product} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment