Sun Java System Application Server Enterprise Edition 8.2 管理指南

停止實例

伺服器實例是使用 stop-instance 指令停止的。以下範例停止了名為 myinstance 的實例。該指令提示您輸入管理密碼。


$ asadmin stop-instance --host myhost --port 1234 --user admin  myinstance

管理伺服器主機是 myhost,管理連接埠是 1234,而管理使用者名稱是 admin。伺服器實例 myinstance 可予以叢集或保持獨立。

如需完整語法,請鍵入 asadmin help stop-instance