获取WebSphere 的Profile 信息命令操作记录
现获取WebSphere的主安装目录,一般类似如下:
/opt/IBM/WebSphere7/AppServer
weiyouS3:~ # cd /opt/IBM/WebSphere7/AppServer/bin
weiyouS3:/opt/IBM/WebSphere7/AppServer/bin # ls man*
manageODC.py manageprofiles.sh
weiyouS3:/opt/IBM/WebSphere7/AppServer/bin # ./manageprofiles.sh -listProfiles
[Dmgr1, CRMSrv1]
weiyouS3:/opt/IBM/WebSphere7/AppServer/bin # ./manageprofiles.sh -getPath -profileName CRMSrv1
/home/telkom/app/CRMSrv1
weiyouS3:/opt/IBM/WebSphere7/AppServer/bin # ./manageprofiles.sh -getPath -profileName Dmgr1
/home/telkom/app/Dmgr1
weiyouS3:/opt/IBM/WebSphere7/AppServer/bin # cd /home/telkom/app/CRMSrv1
weiyouS3:/home/telkom/app/CRMSrv1 # cd logs/
backup/ ffdc/ log/ nodeagent/ server1/
weiyouS3:/home/telkom/app/CRMSrv1 # cd logs/
backup/ ffdc/ log/ nodeagent/ server1/
weiyouS3:/home/telkom/app/CRMSrv1 # cd logs/server1/
weiyouS3:/home/telkom/app/CRMSrv1/logs/server1 # ll
total 84
-rw-r--r-- 1 telkom users 3757 Jun 12 19:19 SystemErr.log
-rw-r--r-- 1 telkom users 60969 Jun 16 10:00 SystemOut.log
-rw-r--r-- 1 telkom users 168 Jun 12 19:18 native_stderr.log
-rw-r--r-- 1 telkom users 1677 Jun 12 19:18 native_stdout.log
-rw-r--r-- 1 telkom users 4 Jun 12 19:19 server1.pid
-rw-r--r-- 1 telkom users 1975 Jun 12 19:19 startServer.log
weiyouS3:/home/telkom/app/CRMSrv1/logs/server1 #