trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuradha Hegde <anuradha.he...@esgyn.com>
Subject RE: Nifty trick
Date Fri, 04 Dec 2015 19:40:35 GMT
Here is another easier way to figure it out..

At trafci prompt, type 'show remoteprocess'

The other way is to bring up DCSwebUI in the browser and look at the State
(Connected)

Anu

-----Original Message-----
From: Dave Birdsall [mailto:dave.birdsall@esgyn.com]
Sent: Friday, December 4, 2015 11:34 AM
To: dev@trafodion.incubator.apache.org
Subject: Nifty trick

Hi,



While debugging a Trafodion issue through Trafci, I came across an
interesting problem and a nifty trick to solve it.



Trafci connects to Trafodion through an mxosrvr process on platform. The
question is, how to figure out which mxosrvr process one has connected to in
order to set breakpoints. Here’s a way to figure that out:



1.       Start a dtmci, and do a “status trans” command.

2.       In your Trafci session, do a “begin work;”

3.       In dtmci, do another “status trans”. It should show an ACTIVE
transaction. In the Owner column, you’ll see the node number and Linux pid
of the mxosrvr process.



Happy debugging!



Dave

Mime
View raw message