Author |
Message
|
scravr |
Posted: Thu Oct 10, 2013 11:46 am Post subject: UNIX ProcessID & ThreadID |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
HI to All,
What will be a simple way to get (with ESQL or JAVA) both UNIX ProcessID and ThreadID for a running flow?
Thanks
[/list] |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Oct 10, 2013 12:38 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
|
Back to top |
|
 |
scravr |
Posted: Thu Oct 10, 2013 12:55 pm Post subject: |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
So that; there is no ThreadID in it..... |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 11, 2013 12:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
scravr wrote: |
So that; there is no ThreadID in it..... |
And Java does not give you any id informantion on Thread.currentThread?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 11, 2013 6:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What's the end goal of discovering this information?
To what purpose will this data be put?
Why do you think that the data you're looking for is actually data that will be useful? |
|
Back to top |
|
 |
Tibor |
Posted: Fri Oct 11, 2013 9:16 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
A workaround: if your message flow opens an MQ object you can query the PID / TID info:
Code: |
display qstatus(<QNAME>) TYPE(HANDLE) PID TID |
|
|
Back to top |
|
 |
scravr |
Posted: Mon Oct 14, 2013 5:57 am Post subject: |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
At this point process/thread IDs have no use. in future they could be used as part of AppTransactionID |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 14, 2013 10:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
scravr wrote: |
At this point process/thread IDs have no use. in future they could be used as part of AppTransactionID |
Better use a brokeruuid  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|