ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Ugent --How to see a queue proces is flowing ?Thanks.

Post new topic  Reply to topic
 Ugent --How to see a queue proces is flowing ?Thanks. « View previous topic :: View next topic » 
Author Message
anto
PostPosted: Tue Aug 30, 2005 9:02 pm    Post subject: Ugent --How to see a queue proces is flowing ?Thanks. Reply with quote

Newbie

Joined: 30 Aug 2005
Posts: 9

AIX 5.2


I was asked to track one queue and see how the process is flowing ?
I used "DISPLAY QSTATUS (qname)" and get below info

DISPLAY QSTATUS (qname)
AMQ8450: Display queue status details.
QUEUE(qname) IPPROCS(0)
OPPROCS(1) CURDEPTH(170)
UNCOM(NO)

but how to see the process is flowing ?
Thanks in advance .
Back to top
View user's profile Send private message Send e-mail
anto
PostPosted: Tue Aug 30, 2005 9:06 pm    Post subject: Reply with quote

Newbie

Joined: 30 Aug 2005
Posts: 9

It is a EAI system , my colleage told me that he sent 90 messages to my server , but I don't know how to track it .
Can anyone help me pls.
Back to top
View user's profile Send private message Send e-mail
anto
PostPosted: Tue Aug 30, 2005 9:48 pm    Post subject: Reply with quote

Newbie

Joined: 30 Aug 2005
Posts: 9

Thanks for you reply .

Actually , I am not sure what I want to get and what I could get . I am a fresh man in MQ.

Could you please send me any doc about the MQ trouble shooting ?Thanks a lot .
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Tue Aug 30, 2005 10:12 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i think he was asked to check the queue if the program (flow) is running well and is processing messages.

well, from the queuestatus you see

DISPLAY QSTATUS (qname)
AMQ8450: Display queue status details.
QUEUE(qname) IPPROCS(0) *1
OPPROCS(1) *2 CURDEPTH(170) *3
UNCOM(NO) *4

*1 - that no one has opened the queue for input. currently, no program is reading messages from the queue
*2 that there is one process that is putting messages to the queue. this can be either an application program or the channel
*3 that currently there are 170 messages on the queue. you may want to issue the command a several times and watch that counter
*4 there is no open unit of work (uncomitted messages).

if "the process" is a putting process and the counter is inreasing then i would say "yes, the process is running".

if "the process" is a getting process then it is most likely that it is not running, because the queue is not opened for input. but yxou never know how things are coded, maybe the process is doing open/close several times and it is just a timing question if you see the queue opened for input or not.

you may also use the "type handle" to find out who is putting / getting from/to the queue.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
anto
PostPosted: Wed Aug 31, 2005 12:35 am    Post subject: Reply with quote

Newbie

Joined: 30 Aug 2005
Posts: 9

Many thanks for all the messages above .

Currently , I just want to know how to check and get the below result .

1, Weather I have got the msges in my queue , how many is it ?

2,How long it will take to process one msg ?

3 , when I can say that EAI hasfinished the job ? if theere is no dp in the queue , is it OK to say that ?
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Wed Aug 31, 2005 1:51 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

1. use display qlocal and check curdepth - the current number of messages in the queue

2. nobody knows but the application programmer. how can we tell you about your programs work and the elapsed time without knowing anything about the program, the hardware, ... (even if we knew some of that data we could not tell you).
you can evaluate this if you meassure processing of x messages, then you can compute how long it will take to process y messages (aprox.).

3. if it is the job of the eai to empty the queue, and the queue is empty, then this part of the job is done. but maybe the eai is doing additional work outside of mq ..... we do not know what your program is doing.

but - be carefull, an empty queue does not tell you if there where any messages being processed. either no messages arrived, or messages arrived and have been processed.

did you think about these questions before you post them?

Quote:
Currently , I just want to know how to check and get the below result

learn to fish, not just how to eat the fish!
_________________
Regards, Butcher
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Aug 31, 2005 2:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

btw.. with MQ V6, you can enable queue statistics and get neat info like this:
Code:
[wschutz@wschutz bin]$ amqsmon -m TEST -t statistics
MonitoringType: QueueStatistics
QueueManager: 'TEST'
IntervalStartDate: '2005-08-31'
IntervalStartTime: '06.08.24'
IntervalEndDate: '2005-08-31'
IntervalEndTime: '06.12.39'
CommandLevel: 600
ObjectCount: 1
QueueStatistics: 0
  QueueName: 'TEST'
  CreateDate: '2005-08-08'
  CreateTime: '13.47.41'
  QueueType: Predefined
  QueueDefinitionType: Local
  QMinDepth: 0
  QMaxDepth: 7
  AverageQueueTime: [46177168, 11656703] <= time in uSec, non-pers / persistent
  PutCount: [2, 5]
  PutFailCount: 0
  Put1Count: [0, 0]
  Put1FailCount: 0
  PutBytes: [66, 55]
  GetCount: [2, 5]
  GetBytes: [66, 55]
  GetFailCount: 0
  BrowseCount: [0, 0]
  BrowseBytes: [0, 0]
  BrowseFailCount: 1
  NonQueuedMsgCount: 0
  ExpiredMsgCount: 0
  PurgeCount: 0



_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
anto
PostPosted: Wed Aug 31, 2005 11:51 pm    Post subject: Reply with quote

Newbie

Joined: 30 Aug 2005
Posts: 9

what a pity , I am using mq5.4 now .

I am not the MQ admin actually , but do the job for the guy who quit his job last week .

I have no time to read the detailed doc . but have to sovle the hot problem , sure , it was in the Prod system .

I will know how to fish with your help .
Back to top
View user's profile Send private message Send e-mail
hopsala
PostPosted: Thu Sep 01, 2005 12:47 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Just to clarify what Butcher said, and a bit more:

1. If CURDEPTH is 0, and remains 0 for a while, either no msgs are being sent or the getting application is fast enough to process msgs as they come in. To know if the application processed the msgs, look in the application log - in MQ it's a bit more complex...

2. MQ5.4 doesn't exist, there is only 5.3 (5.3.1) and v6 currently in support.

3. Anyway, one thing is obvious - as Butcher said, from IPPROCS(0) it is clear that your EAI application is down, start it up and see what happens.
Back to top
View user's profile Send private message
anto
PostPosted: Mon Sep 05, 2005 6:07 pm    Post subject: Reply with quote

Newbie

Joined: 30 Aug 2005
Posts: 9

Dear all ,
Got the answeer finally .The sql of the EAI application programe is not good from the accessplan , I have asked the programmer to reveiw the code .
Thanks a lot for your help .
Back to top
View user's profile Send private message Send e-mail
Nigelg
PostPosted: Tue Sep 06, 2005 12:52 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

You mean, when you actually decided to think for yourself, you found the answer?
Try that first next time, instead of wasting time asking generic questions.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Sep 06, 2005 12:58 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

clap clap clap clap
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Ugent --How to see a queue proces is flowing ?Thanks.
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.