WAS 查看服务状态

进入目录下/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin

查看服务状态命令# ./serverStatus.sh 服务名

例如:

[root@localhost 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

例如:

[root@localhost 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

猜你喜欢

转载自www.cnblogs.com/hebiao/p/10243342.html