轻松玩儿转 Bash History -- 实战录影
-bash-3.2# ps -ef | grep -i fte
ps -ef | grep -i fte
-bash-3.2# endmqm AGTCOD
endmqm AGTCOD
AMQ8118: WebSphere MQ queue manager does not exist.
-bash-3.2# !:0 -i QMCOD
!:0 -i QMCOD
endmqm -i QMCOD
Waiting for queue manager 'QMCOD' to end.
Waiting for queue manager 'QMCOD' to end.
09/15/10 14:39:31 AMQ9604: Channel 'TO.QMCOD.4.FTECA' terminated unexpectedly
WebSphere MQ queue manager 'QMCOD' ended.
-bash-3.2# !:0- QMB
!:0- QMB
endmqm -i QMB
Waiting for queue manager 'QMB' to end.
WebSphere MQ queue manager 'QMB' ending.
WebSphere MQ queue manager 'QMB' ended.
-bash-3.2# strmqm !-2:$
strmqm !-2:$
strmqm QMCOD
WebSphere MQ queue manager 'QMCOD' starting.
5 log records accessed on queue manager 'QMCOD' during the log replay phase.
Log replay for queue manager 'QMCOD' complete.
Transaction manager state recovered for queue manager 'QMCOD'.
WebSphere MQ queue manager 'QMCOD' started.
-bash-3.2# !:0- QMB
!:0- QMB
strmqm QMB
WebSphere MQ queue manager 'QMB' starting.
5 log records accessed on queue manager 'QMB' during the log replay phase.
Log replay for queue manager 'QMB' complete.
Transaction manager state recovered for queue manager 'QMB'.
WebSphere MQ queue manager 'QMB' started.
-bash-3.2# ls
ls
... ... ... ...
-bash-3.2# ./fteCleanAgent AGTCOD
./fteCleanAgent AGTCOD
5655-U80, 5724-R10 Copyright IBM Corp. 2008, 2009. ALL RIGHTS RESERVED
Command Queue New Transfer Entries:
Scheduler Queue Schedule Entries:
BFGCL0149I: The agent 'AGTCOD' has been cleaned.
-bash-3.2# ./fteCleanAgent AGTB
./fteCleanAgent AGTB
5655-U80, 5724-R10 Copyright IBM Corp. 2008, 2009. ALL RIGHTS RESERVED
State Queue Entries:
Command Queue New Transfer Entries:
Scheduler Queue Schedule Entries:
BFGCL0149I: The agent 'AGTB' has been cleaned.
-bash-3.2# ./fteStartAgent !-2:$
./fteStartAgent !-2:$
./fteStartAgent AGTCOD
5655-U80, 5724-R10 Copyright IBM Corp. 2008, 2009. ALL RIGHTS RESERVED
BFGCL0030I: The request to start agent 'AGTCOD' on this machine has been submitted.
BFGCL0031I: Agent log files located at: /var/IBM/WMQFTE/config/QMCOD/agents/AGTCOD
-bash-3.2# ./ftePingAgent -m QMC AGTC
./ftePingAgent -m QMC AGTC
5655-U80, 5724-R10 Copyright IBM Corp. 2008, 2009. ALL RIGHTS RESERVED
BFGCL0212I: Issuing ping request to agent AGTC
BFGCL0003E: A messaging problem prevented the command from completing successfully, and the reason code was 2087.
-bash-3.2# !-2:0 AGTB
!-2:0 AGTB
./fteStartAgent AGTB
5655-U80, 5724-R10 Copyright IBM Corp. 2008, 2009. ALL RIGHTS RESERVED
BFGCL0030I: The request to start agent 'AGTB' on this machine has been submitted.
BFGCL0031I: Agent log files located at: /var/IBM/WMQFTE/config/QMCOD/agents/AGTB
-bash-3.2# !-2:gs/C/B/
!-2:gs/C/B/
./ftePingAgent -m QMB AGTB
5655-U80, 5724-R10 Copyright IBM Corp. 2008, 2009. ALL RIGHTS RESERVED
BFGCL0212I: Issuing ping request to agent AGTB
BFGCL0213I: agent AGTB responded to ping in 0.266 seconds.
-bash-3.2# !:gs/B/COD/
!:gs/B/COD/
./ftePingAgent -m QMCOD AGTCOD
5655-U80, 5724-R10 Copyright IBM Corp. 2008, 2009. ALL RIGHTS RESERVED
BFGCL0212I: Issuing ping request to agent AGTCOD
BFGCL0213I: agent AGTCOD responded to ping in 0.18 seconds.
-bash-3.2#
posted on 2010-09-15 14:30 David Young 杨博华 阅读(816) 评论(0) 编辑 收藏 举报