Bobbee,

Another way to do this without the need of a file is:    echo "display
chs(*)"|runmqsc|grep -c RUNNING


Regards,

John Dawson


 -----Original Message-----
From:   Robert Broderick [mailto:[EMAIL PROTECTED]]
Sent:   Monday, February 03, 2003 7:17 AM
To:     [EMAIL PROTECTED]
Subject:        Re: Listing number of channel connections made to queues in
a Queue Manager on a AIX box

This is an interesting question. Doing a

"runmqsc QMGR_NAME < dischl | grep -c RUNNING" where dischl contains a one
line connamd "dis chs(*)" will return the number of running channels it may
not give you the results you need. Sender channels will have one and only
one XMIT queue associated with it. But receiver channels are another story.
What happens if the sender is sending data to more than one queue. each
queue will be opened for a put for that particular receiver channle. Is
there possibly an agent spawned for each queue that is opened on a put for a
receiver channle. Sounds like a "NOT" So while the above command will give
you some sort of number I don't believe the 'dis chs(*)' will give you what
you are looking for. I'm not sure if there is a way to extract that
information.    PC??? Any input????


                               bobbee






>From: "Kadhirvel,Elango ( Cognizant)" <[EMAIL PROTECTED]>
>Reply-To: MQSeries List <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Listing number of channel connections made to queues in a Queue
>           Manager on a AIX box
>Date: Mon, 3 Feb 2003 12:48:51 +0530
>
>Hi List,
>
>How do we list the number of channel connections made to queues in a Queue
>Manager in MQSeries 5.2 on a AIX box?
>
>
>Thanks and regards,
>Elango.
>
>
>
>Be kind, for everyone you meet is fighting a harder battle - Plato
>
><< InterScan_Disclaimer.txt >>


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to