我正在搜索一个与老版本的jboss.system:type=Server中包含的命令'twiddle get“jboss”Started‘等效的命令,以获取服务器状态。
发布于 2014-01-09 18:56:12
我在这里找到了答案:https://community.jboss.org/thread/167959?tstart=0
对于脚本使用(JBoss 7.1.1):
- to check if JBoss server is started: ./jboss-cli.sh -c --commands="read-attribute server-state"
- to check if application is started: ./jboss-cli.sh -c --commands="cd deployment,cd myapp.war, read-attribute status"https://stackoverflow.com/questions/21016947
复制相似问题