# WLST script which calls GC.
from java.util import *
from javax.management import *
import javax.management.Attribute
print 'starting the script .... '
connect('userid','password',url='t3://192.168.17:9001')
state('AdminServer')
# For Force GC ....
domainRuntime()
cd('/ServerRuntimes/AdminServer/JVMRuntime/AdminServer')
print ' Performing Force GC...'
cmo.runGC()
disconnect()
print 'End of script ...'
exit()
No comments:
Post a Comment