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 » WebSphere Message Broker (ACE) Support » UNIX ProcessID & ThreadID

Post new topic  Reply to topic
 UNIX ProcessID & ThreadID « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Thu Oct 10, 2013 11:46 am    Post subject: UNIX ProcessID & ThreadID Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
JosephGramig
PostPosted: Thu Oct 10, 2013 12:38 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Did you search the Information Center?
I got this: http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fak04897_.htm&resultof=%22ESQL%22%20%22esql%22%20%22BROKERNAME%22%20%22brokernam%22
Back to top
View user's profile Send private message AIM Address
scravr
PostPosted: Thu Oct 10, 2013 12:55 pm    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

So that; there is no ThreadID in it.....
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Fri Oct 11, 2013 12:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Oct 11, 2013 6:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Tibor
PostPosted: Fri Oct 11, 2013 9:16 am    Post subject: Reply with quote

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
View user's profile Send private message
scravr
PostPosted: Mon Oct 14, 2013 5:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Mon Oct 14, 2013 10:47 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » UNIX ProcessID & ThreadID
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.