Odd qmadmin behavior (Tuxedo 11/Linux 5.3 (OEL)_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2957 | 回复: 0   主题: Odd qmadmin behavior (Tuxedo 11/Linux 5.3 (OEL)        下一篇 
大的快乐
注册用户
等级:新兵
经验:66
发帖:10
精华:0
注册:2013-1-28
状态:离线
发送短消息息给大的快乐 加好友    发送短消息息给大的快乐 发消息
发表于: IP:您无权察看 2014-10-11 9:23:36 | [全部帖] [楼主帖] 楼主

I have a program which gathers statistics on various aspects of our system, and one of thing which we gather information on is the size of our queue. To accomplish this, in the past I have been passing the qspl command to qmadmin:

echo qspl CBQ | qmadmin <path to queue>

qmadmin - Copyright (c) 2007-2008 Oracle.

Portions * Copyright 1986-1997 RSA Data Security, Inc.

All Rights Reserved.

Distributed under license by Oracle.

tuxedo is a registered trademark.

QMCONFIG=<path to queue>

IPC key: 65130

Error queue: Q_ERR

Initialization: y

Blocking factor: 16

Extents: 1

Extent 0: 2056 blocks

Shared memory usage:

Additional actions: 0 0 bytes

Additional owners: 0 0 bytes

Maximum cursors: 0 0 bytes

Maximum handles: 0 0 bytes

Maximum messages: 10000 2000000 bytes

Maximum processes: 50 4800 bytes

Maximum queues: 5 2800 bytes

Maximum temporary queues: 0 0 bytes

Maximum transactions: 50 10400 bytes

Filter memory: 0 bytes

Non-persistent message memory: 1049600 bytes

Overflow memory: 100065 bytes

System reserved memory: 252333 bytes

Total shared memory usage: 3419998 bytes

In the past (Tuxedo 8.1 to Tuxedo 10.3) this worked without issue. However, now when I execute this command I am getting errors thrown from qmadmin about the command not existing. I have also observed this using the livtoc command as well. This works for tmadmin commands on 11 (echo psc | tmadmin -r). The proper output from qspl is displayed, however an infinite amount of quit command not found errrors appear, sticking qmadmin in a loop.

echo qspl CBQ | qmadmin <path to queue>

Q_CAT:1111: ERROR: Command quit

not found

Is there an issue with piping in commands via echo for the qmadmin tool in v11 that I'm not aware of? Or could there be something more at play here? Note that I'm only attempted this on a combination of Tuxedo 11 and OEL 5.3.

--友情转载




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论