1. 程式人生 > >WAS 檢視服務狀態

WAS 檢視服務狀態

進入目錄下/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin

檢視服務狀態命令# ./serverStatus.sh 服務名

例如:

[[email protected] bin]# ./serverStatus.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/serverStatus.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU0500I: Retrieving server status for server1
ADMU0508I: The Application Server "server1" is STARTED

停服務# ./stopServer.sh server1

例如:

[[email protected] bin]# ./stopServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/stopServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.

啟服務# ./startServer.sh server1