Author |
Message
|
mqdude70 |
Posted: Fri Nov 21, 2003 9:13 am Post subject: running commands |
|
|
 Apprentice
Joined: 13 Nov 2003 Posts: 28
|
Hi Guys,
2 Questions :
1. Does running display queue in runmqsc frequently has any negative effect on the queues?
2. For checking status of the queue ie. queue is not down is there some command or display queue is the one?
Thanks in advance. _________________ Thanks,
-MQdude70 |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 21, 2003 9:17 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I don't know what you mean by frequently. However, I would think that doing anything 'frequently' might have an adverse effect on the system. Although, this won't break anything.
As far as commands to use, there are two: display ql and display qstatus. The first one can give you some quick details on the queue. The second one can tell you who has it open. |
|
Back to top |
|
 |
RatherBeGolfing |
Posted: Fri Nov 21, 2003 11:45 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
Can you elaborate on the display qstatus command? I just issued it against one of my local queues that has an open input count of 1 and it returned the fact that my IPPROCS was indeed 1, but it didn't tell me WHO had the queue open.....
Thanks in advance,
Larry |
|
Back to top |
|
 |
mqdude70 |
Posted: Fri Nov 21, 2003 11:48 am Post subject: |
|
|
 Apprentice
Joined: 13 Nov 2003 Posts: 28
|
I mean running display queue/chl in a script through the cron job for checking status of the queue once every minute.
* Yeah! I don't either see a qstatus command only chlstats
Thanks. _________________ Thanks,
-MQdude70 |
|
Back to top |
|
 |
EddieA |
Posted: Fri Nov 21, 2003 11:51 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
"display qstatus" is 5.3 only.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
RatherBeGolfing |
Posted: Fri Nov 21, 2003 11:57 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
I am running MQ V5.3 on Windows 2000 with CSD04 applied |
|
Back to top |
|
 |
vennela |
Posted: Fri Nov 21, 2003 11:57 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You will be able to see qstatus only if the queue is opened by some application (or maybe during some other cases, but I don't know). But, you will not be able to display qstatus all the time. |
|
Back to top |
|
 |
EddieA |
Posted: Fri Nov 21, 2003 11:59 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Try "display qstatus(...) type(handle)"
Reading the doc is a great help.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Nov 21, 2003 12:05 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
needed to 'read' up on this as well
dis qstatus(...) TYPE(HANDLE) ALL
gives you all you need...  |
|
Back to top |
|
 |
mqdude70 |
Posted: Fri Nov 21, 2003 12:07 pm Post subject: |
|
|
 Apprentice
Joined: 13 Nov 2003 Posts: 28
|
Any answer to my Question!
"Running display queue/chl in a script through the cron job for checking status of the queue once every min. "
and will that cause any performance problem on the functioning of MQ server.
Thanks! _________________ Thanks,
-MQdude70 |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Nov 21, 2003 12:14 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
ok ok ... you get 'served' as well...
first tell us what your problem is or why you want to do that... maybe there is another way... running dis qstatus(*) all every minute may cause some problems... (i have no exact info, just a hunch...) so why do you need it...
Michael |
|
Back to top |
|
 |
mqdude70 |
Posted: Fri Nov 21, 2003 12:23 pm Post subject: |
|
|
 Apprentice
Joined: 13 Nov 2003 Posts: 28
|
Hi Michael,
Thanks for the reply. I want to monitor the health of the queue. So I am running display q every min and see the depth. (I know It can be done by event moinitoring. Due to some constraints not doing so!) My Q is will running dis q affect the normal performance of the MQ in any way?
Thanks in advance. _________________ Thanks,
-MQdude70 |
|
Back to top |
|
 |
RatherBeGolfing |
Posted: Fri Nov 21, 2003 12:25 pm Post subject: |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
Sorry for hijacking your thread MQDude
 |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Nov 21, 2003 12:49 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
What do you mean by 'health' of the Q?
Do you mean wether the QueueManager is running and available for connection? in that case on MQ 5.3 you can use the dspmq command.
(this is not within runmqsc..., simply a command like runmqsc)
Michael |
|
Back to top |
|
 |
mqdude70 |
Posted: Fri Nov 21, 2003 12:53 pm Post subject: |
|
|
 Apprentice
Joined: 13 Nov 2003 Posts: 28
|
I mean Queue is responding for any mqput/get messages. I believe by responding to dis q(queuename) it is working(If i'm wrong pl. clarify) Not the Qmgr. and to see the depth of the queue. It is v5.2
Thanks. _________________ Thanks,
-MQdude70 |
|
Back to top |
|
 |
|