我一直在尝试使用 jboss-cli.bat 验证我们的服务器是否已在 Wildfly 中启动
这是我正在使用的命令:
/host=slave-1/server-config=REST-server-one:read-resource(include-runtime=true)
这就是我从命令中得到的
{
"outcome" => "success",
"result" => {
"auto-start" => true,
"cpu-affinity" => undefined,
"group" => "wildfly-server-group",
"name" => "wildfly-server",
"priority" => undefined,
"socket-binding-default-interface" => undefined,
"socket-binding-group" => undefined,
"socket-binding-port-offset" => 0,
"status" => "STARTED",
"update-auto-start-with-server-status" => false,
"interface" => undefined,
"jvm" => undefined,
"path" => undefined,
"ssl" => undefined,
"system-property" => undefined
}
是否有一个命令将返回该响应中的状态值?