./standalone.sh -h --查看帮助
./standalone.sh -v --查看版本
JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8)
进入控制台:
help
deploy --help --查看具体某个命令的帮助
run-batch --file=myscript.txt --批量执行脚本命令
version --显示版本
{
"outcome" => "success",
"result" => {"identity" => {
"username" => "$local",
"realm" => "ManagementRealm"
}}
}
--显示可用的操作
{
"outcome" => "success",
"result" => [
"add-namespace",
"add-schema-location",
"delete-snapshot",
"full-replace-deployment",
"list-snapshots",
"read-attribute",
"read-children-names",
"read-children-resources",
"read-children-types",
"read-config-as-xml",
"read-operation-description",
"read-operation-names",
"read-resource",
"read-resource-description",
"reload",
"remove-namespace",
"remove-schema-location",
"replace-deployment",
"resolve-expression",
"resolve-internet-address",
"server-set-restart-required",
"shutdown",
"take-snapshot",
"undefine-attribute",
"upload-deployment-bytes",
"upload-deployment-stream",
"upload-deployment-url",
"validate-address",
"validate-operation",
"whoami",
"write-attribute"
]
}
--读取资源
--读取资源描述
:read-resource-description
--重启
:reload
:shutdown --关闭
history --clear --清除历史