#USage: bin/wsadmin.sh –lang jython –f FILE_NAME NODE_NAME
n1 = sys.argv[0]
#
#
plist = "[-serverType APPLICATION_SERVER -nodeName " + n1 + "]" print plist
#
slist = AdminTask.listServers(plist).split("\n")
#
for s in slist: print s continue
No comments:
Post a Comment