Author |
Message
|
obriencm |
Posted: Mon Aug 09, 2004 11:16 am Post subject: Finding the process holding a queue open |
|
|
Acolyte
Joined: 31 Jan 2002 Posts: 64 Location: Ireland
|
Hi,
I am working on a Solaris system, MQSeries v5.3, I am trying to clear a queue, however it is showing an open input count (IPPROCS) of 1. Is there a simple command I can use to identify the process that is holding the queue open. Thus allowing me to kill the process and clear the queue?
Thanks in advance,
C. |
|
Back to top |
|
 |
obriencm |
Posted: Mon Aug 09, 2004 11:23 am Post subject: possible solution? |
|
|
Acolyte
Joined: 31 Jan 2002 Posts: 64 Location: Ireland
|
I believe the display queue status should show what has the queue open, can anyone tell me the correct syntax for this command?
Thanks,
C. |
|
Back to top |
|
 |
obriencm |
Posted: Mon Aug 09, 2004 11:31 am Post subject: Never mind |
|
|
Acolyte
Joined: 31 Jan 2002 Posts: 64 Location: Ireland
|
Thanks I figured it out...  |
|
Back to top |
|
 |
Henry |
Posted: Sun Aug 15, 2004 11:05 pm Post subject: |
|
|
Acolyte
Joined: 08 Oct 2003 Posts: 73
|
when I tried to display the queue status, it only displayed the ipprocs(1) and other information. How can I figure out which machine or what programme is not terminated or affecting the value ipprocs? How can I determine which process must be killed to reset the ipprocs?
thanks!! |
|
Back to top |
|
 |
obriencm |
Posted: Sun Aug 15, 2004 11:07 pm Post subject: |
|
|
Acolyte
Joined: 31 Jan 2002 Posts: 64 Location: Ireland
|
What version of MQSeries are you using? |
|
Back to top |
|
 |
leongor |
Posted: Mon Aug 16, 2004 1:31 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
If you are using runmqsc then type :
dis qstatus(<QName>) type(handle) all _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
obriencm |
Posted: Mon Aug 16, 2004 2:34 am Post subject: MQSeries version |
|
|
Acolyte
Joined: 31 Jan 2002 Posts: 64 Location: Ireland
|
the command: dis qstatus(<QName>) type(handle) all only works on MQSeries v5.3 |
|
Back to top |
|
 |
|