记录一下linux tibco队列的常用命令,每次都忘记…
tibco常用命令
打开tibco命令控制台
[tibesb@qtbj-core-104 ~]$ ems.admin
TIBCO Enterprise Message Service Administration Tool.
Copyright 2003-2012 by TIBCO Software Inc.
All rights reserved.
Version 6.3.0 V5 1/27/2012
Type 'help' for commands help, 'exit' to exit:
输入连接命令
> connect
属于用户名,默认是admin
Login name (admin):
输入密码,我们的没有设置密码,所以直接回车就好
Password:
Connected to: tcp://localhost:7222
连接队列成功
tcp://localhost:7222>
输入help查看帮助命令,使用`help 命令(如show)`查看具体的用法
tcp://localhost:7222> help
使用 show queues查看所有的队列
tcp://localhost:7222> show queues
查看具体的队列信息
tcp://localhost:7222> show queue VERIFY.OUT
队列名
Queue: VERIFY.OUT
队列类型,动态(也就是临时队列)
Type: dynamic
Properties: *prefetch=5,*store=$sys.nonfailsafe
JNDI Names: <none>
Bridges: <none>
当前队列的接受者
Receivers: 1
当前队列的消息的条数(这里是0条)
Pending Msgs: 0, (0 persistent)
Delivered Msgs: 0
Pending Msgs Size: 0.0 Kb, (0.0 Kb persistent)
使用purge命令来清空队列
tcp://localhost:7222> purge queue VERIFY.OUT