Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 313 Bytes
# Usage: wsadmin -f getJvmHeap.py server
server = AdminConfig.getid('/Server:'+sys.argv[0]+'/')
jvm = AdminConfig.list('JavaVirtualMachine', server)
print 'initialHeapSize: ' + AdminConfig.showAttribute(jvm, 'initialHeapSize')
print 'maximumHeapSize: ' + AdminConfig.showAttribute(jvm, 'maximumHeapSize')
You can’t perform that action at this time.