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 » General Discussion » running commands

Post new topic  Reply to topic Goto page 1, 2  Next
 running commands « View previous topic :: View next topic » 
Author Message
mqdude70
PostPosted: Fri Nov 21, 2003 9:13 am    Post subject: running commands Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Fri Nov 21, 2003 9:17 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
RatherBeGolfing
PostPosted: Fri Nov 21, 2003 11:45 am    Post subject: Reply with quote

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
View user's profile Send private message
mqdude70
PostPosted: Fri Nov 21, 2003 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Fri Nov 21, 2003 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message
RatherBeGolfing
PostPosted: Fri Nov 21, 2003 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Fri Nov 21, 2003 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
EddieA
PostPosted: Fri Nov 21, 2003 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Fri Nov 21, 2003 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
mqdude70
PostPosted: Fri Nov 21, 2003 12:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Fri Nov 21, 2003 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
mqdude70
PostPosted: Fri Nov 21, 2003 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
RatherBeGolfing
PostPosted: Fri Nov 21, 2003 12:25 pm    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

Sorry for hijacking your thread MQDude
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Nov 21, 2003 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
mqdude70
PostPosted: Fri Nov 21, 2003 12:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » running commands
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.