命令行访问jmx-console

./twiddle.sh -u admin -p admin -s jnp://10.197.50.124:1099 get jboss.system:type=ServerInfo
./twiddle.sh -u admin -p admin -s jnp://10.197.50.124:1099 get jboss.system:type=ServerInfo|awk -F = '{print $2}'

相关推荐