Author |
Message
|
masteringmq |
Posted: Tue Nov 25, 2008 6:31 pm Post subject: SYSTEM.ADMIN.STATISTICS.QUEUE |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
I keep adding messages in my local queue of a queue manager and when I do the below the currentdepth is always 0. I even turn on the statistics but the value is 0. Did I miss something?.
DISPLAY QL(SYSTEM.ADMIN.STATISTICS.QUEUE)
83 : DISPLAY QL(SYSTEM.ADMIN.STATISTICS.QUEUE)
AMQ8409: Display Queue details.
QUEUE(SYSTEM.ADMIN.STATISTICS.QUEUE) TYPE(QLOCAL)
ACCTQ(OFF) ALTDATE(2008-10-13)
ALTTIME(16.40.45) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2008-10-13) CRTIME(16.40.45)
CURDEPTH(0) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR(WebSphere MQ Administration Statistics Queue)
DISTL(NO) GET(ENABLED)
HARDENBO INITQ( )
IPPROCS(0) MAXDEPTH(3000)
MAXMSGL(4194304) MONQ(QMGR)
MSGDLVSQ(PRIORITY) NOTRIGGER
NPMCLASS(NORMAL) OPPROCS(0)
PROCESS( ) PUT(ENABLED)
QDEPTHHI(80) QDEPTHLO(20)
QDPHIEV(DISABLED) QDPLOEV(DISABLED)
QDPMAXEV(ENABLED) QSVCIEV(NONE)
QSVCINT(999999999) RETINTVL(999999999)
SCOPE(QMGR) SHARE
STATQ(OFF) TRIGDATA( )
TRIGDPTH(1) TRIGMPRI(0)
TRIGTYPE(NONE) USAGE(NORMAL) |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Nov 25, 2008 6:55 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
I keep adding messages in my local queue of a queue manager and when I do the below the currentdepth is always 0. I even turn on the statistics but the value is 0. Did I miss something?. |
What is the name of your local queue?
How did you add messages to it?
How do you know that curdepth of you local queue is zero?
How did you turn on statistics? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
masteringmq |
Posted: Tue Nov 25, 2008 7:16 pm Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
I notice when I issue:
RESET QMGR TYPE(STATISTICS)
The currentdepth for SYSTEM.ADMIN.STATISTICS.QUEUE increases. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Nov 25, 2008 10:47 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Which is your most important concern here?
1) Messages not arriving in your local queue? Or
2) getting statistics to work? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 26, 2008 2:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
masteringmq wrote: |
I notice when I issue:
RESET QMGR TYPE(STATISTICS)
The currentdepth for SYSTEM.ADMIN.STATISTICS.QUEUE increases. |
So you switch on statistics and notice that statistics messages are being delivered. Well spotted but obvious.
What has this to do with messages being delivered (or not) to a local queue? All this proves is that something is happening on the queue manager like (perhaps) the message you think should be going to your local queue being delivered somewhere else. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
masteringmq |
Posted: Wed Nov 26, 2008 3:57 am Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
well when I add a message to a local queue called QM, I expect a statictic message to be generated and placed in SYSTEM.ADMIN.STATISTICS.QUEUE. Therefore my concern is to get the statistic to work. |
|
Back to top |
|
 |
exerk |
Posted: Wed Nov 26, 2008 4:06 am Post subject: Re: SYSTEM.ADMIN.STATISTICS.QUEUE |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
masteringmq wrote: |
DISPLAY QL(SYSTEM.ADMIN.STATISTICS.QUEUE)
83 : DISPLAY QL(SYSTEM.ADMIN.STATISTICS.QUEUE)
AMQ8409: Display Queue details.
QUEUE(SYSTEM.ADMIN.STATISTICS.QUEUE) TYPE(QLOCAL)
ACCTQ(OFF) ALTDATE(2008-10-13)
ALTTIME(16.40.45) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2008-10-13) CRTIME(16.40.45)
CURDEPTH(0) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR(WebSphere MQ Administration Statistics Queue)
DISTL(NO) GET(ENABLED)
HARDENBO INITQ( )
IPPROCS(0) MAXDEPTH(3000)
MAXMSGL(4194304) MONQ(QMGR)
MSGDLVSQ(PRIORITY) NOTRIGGER
NPMCLASS(NORMAL) OPPROCS(0)
PROCESS( ) PUT(ENABLED)
QDEPTHHI(80) QDEPTHLO(20)
QDPHIEV(DISABLED) QDPLOEV(DISABLED)
QDPMAXEV(ENABLED) QSVCIEV(NONE)
QSVCINT(999999999) RETINTVL(999999999)
SCOPE(QMGR) SHARE
STATQ(OFF) TRIGDATA( )
TRIGDPTH(1) TRIGMPRI(0)
TRIGTYPE(NONE) USAGE(NORMAL) |
What is the setting on queue QM? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
markt |
Posted: Wed Nov 26, 2008 4:19 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
|
Back to top |
|
 |
masteringmq |
Posted: Wed Nov 26, 2008 5:39 am Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
Queue Statistics: ON for QL: QM
Only when I
RESET QMGR TYPE(STATISTICS)
then the currentdepth for SYSTEM.ADMIN.STATISTICS.QUEUE increases. I imagine this is the solution. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 26, 2008 6:55 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
[quote]Only when I RESET QMGR TYPE(STATISTICS) then the currentdepth for SYSTEM.ADMIN.STATISTICS.QUEUE increases./quote]
From the Info Center: The Reset Queue Statistics (MQCMD_RESET_Q_STATS) command reports the performance data for a queue and then resets the performance data.
Quote: |
I imagine this is the solution. |
No, this is the expected behavior of the RESET STATISTICS command. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
masteringmq |
Posted: Wed Nov 26, 2008 8:03 am Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
STATQ(OFF) I change to STATQ(ON). When I add a message to the QL: QM, No statistic message are being put in SYSTEM.ADMIN.STATISTICS.QUEUE. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 26, 2008 8:09 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Did you expect to see a new statistics message arrive in the statistics queue for every message you put to your local queue?
Did you read the WMQ Monitoring manual to understand how to use statistics monitoring? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
masteringmq |
Posted: Wed Nov 26, 2008 9:12 pm Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
Now it works
Solution: ALTER QMGR STATINT(1) |
|
Back to top |
|
 |
|