Bonjour,
Cette commande:
java weblogic.Admin -url t3://localhost:7001 -username weblogic -password 'password' -pretty GET -type JDBCConnectionPoolRuntime | egrep -i "MBeanName|State\:\ " | grep -v Deployment | grep -v PoolState
offre la sortie suivante :
MBeanName: "AdminServer:ServerRuntime=Manage1,Name=myDataDS,Type=JDBCConnectionPoolRuntime,Location=Manage_1,ApplicationRuntime=myDataDS"
State: Running
Je souhaiterais cet output:
Name=myDataDS
State: Running
Je pensais utiliser Perl mais mon manque de pratique me fait perdre un peu d temps.
Si vous avez une idée ;=)
Merci
Partager