Author |
Message
|
TBS |
Posted: Thu Mar 27, 2008 7:54 am Post subject: Is it posible to find the flow that have user trace on ? |
|
|
Centurion
Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark
|
Hi !
My broker is writing to file ... userTrace.bin.0 1 2 3
How du I find the flow that have the trace turned on ?
MQSICommand
D:\WMB>mqsireporttrace broker -u -e default
BIP8098I: Trace level: none, mode: safe, size: 5000 KB. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 27, 2008 8:05 am Post subject: Re: Is it posible to find the flow that have user trace on ? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
TBS wrote: |
How du I find the flow that have the trace turned on ?
|
Look in the trace file - it contains the flow name. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Mar 27, 2008 12:01 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
One cool task would be to write a program that uses the Configuration Manager Proxy API that iterates over all brokers, execution groups and flows looking for those that have debug turned on...
It is a pet project I just haven't gotten to yet...
But, there is the idea. |
|
Back to top |
|
 |
TBS |
Posted: Fri Mar 28, 2008 6:13 am Post subject: |
|
|
Centurion
Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark
|
Tanks .. I looked in the usertrace and dicovered that it was statistik information.
I just stoped the statistik collection .
 |
|
Back to top |
|
 |
fschofer |
Posted: Sun Mar 30, 2008 2:34 am Post subject: |
|
|
 Knight
Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany
|
JosephGramig wrote: |
One cool task would be to write a program that uses the Configuration Manager Proxy API that iterates over all brokers, execution groups and flows looking for those that have debug turned on...
It is a pet project I just haven't gotten to yet...
But, there is the idea. |
It should also be possible to script something like this using the mqsilist command.
mqsilist gives you all brokers
mqsiisit <broker> all broker execution groups
mqsilist <broker> -e <EG> all message flows
Anyone out there who already implemented this as shell or perl script and is willing to share ?
Greetings
Frank |
|
Back to top |
|
 |
|