<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: which user process on SG node A causes Oracle process on SG node b? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905271#M837814</link>
    <description>John,&lt;BR /&gt;&lt;BR /&gt;Process IDs on the application node making a call to the Oracle server on node B can be found as follows...&lt;BR /&gt;&lt;BR /&gt;# lsof -iTCP@&lt;NODENAME of="" b=""&gt;:&lt;PORT number="" of="" oracle="" listener="" on="" node="" b=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example if IP of oracle server is 10.11.12.13 and the oracle listener process is listening on port 1521...then run the follwing on your application node:&lt;BR /&gt;&lt;BR /&gt;# lsof -iTCP@10.11.12.13:1521&lt;BR /&gt;&lt;BR /&gt;cheers!&lt;/PORT&gt;&lt;/NODENAME&gt;</description>
    <pubDate>Fri, 03 Jun 2005 15:30:58 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2005-06-03T15:30:58Z</dc:date>
    <item>
      <title>which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905266#M837809</link>
      <description>We have a 2 node active-active ServiceGuard cluster. The application runs on node A, but it uses Oracle on node B. Hardly any resource utilization on node A, lots on B. I frequently find oracle processes on node B consuming lots of CPU, disk activity, etc., and want to find out which user process on node A is responible for it.&lt;BR /&gt;&lt;BR /&gt;Any suggestions on how to go about it?&lt;BR /&gt;&lt;BR /&gt; - John Kittel</description>
      <pubDate>Thu, 02 Jun 2005 11:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905266#M837809</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-06-02T11:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905267#M837810</link>
      <description>I guess I should add:&lt;BR /&gt;&lt;BR /&gt;the application process on node A runs under the user's account name. For example, user tr18132 runs a process that looks like this ( output of ps -fx):&lt;BR /&gt;&lt;BR /&gt; tr18132 12617  3217  0 06:59:27 ? 0:05 gem_thin_server IREN57PROD tcp,10.2.12.1,6068&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The oracle processes on node B look like this:&lt;BR /&gt;&lt;BR /&gt; oracle 29939     1  0 09:00:58 ? 0:01 oracleprod1 (LOCAL=NO)&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Thu, 02 Jun 2005 11:27:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905267#M837810</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-06-02T11:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905268#M837811</link>
      <description>That would be a sqlnet connection from node A to node B.  Whichever process on node A that needs DB access to node B could initiate the connection.&lt;BR /&gt;&lt;BR /&gt;If you have lsof installed on the machines, you could use it to determine any connections from node A to node B.</description>
      <pubDate>Thu, 02 Jun 2005 11:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905268#M837811</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-06-02T11:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905269#M837812</link>
      <description>I will get lsof installed and give it a try. Thanks.</description>
      <pubDate>Thu, 02 Jun 2005 17:52:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905269#M837812</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-06-02T17:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905270#M837813</link>
      <description>OK, thats working!&lt;BR /&gt;&lt;BR /&gt;But I'd like to refine my approach if I can get a little more help with lsof.&lt;BR /&gt;&lt;BR /&gt;On the Oracle node, I can easily find just the sqlnet sockets for a particular process. But then on the application node, how can I find the corresponding process without having to list all the ipv4 sockets and grep for the socket numer?&lt;BR /&gt;&lt;BR /&gt;For example, on the Oracle side I see this:&lt;BR /&gt;# /tmp/lsof -p 29996 -i 4 -a&lt;BR /&gt;COMMAND   PID   USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME&lt;BR /&gt;oracle  29996 oracle    8u  IPv4 0x5033d640      0t0  TCP *:* (IDLE)&lt;BR /&gt;oracle  29996 oracle   13u  IPv4 0x67751240  0t74899  TCP erpsqlnet.mydomain.co&lt;BR /&gt;m:1521-&amp;gt;mynode.mydomain.com:52235 (ESTABLISHED)&lt;BR /&gt;&lt;BR /&gt;On the application node I can't seem to figure out how to specify the lsof command to select only the file(s) I want. I've tried all different combinations of the lsof (file) "name" parameter, but it just keeps telling me I'm not specifying a valid name.&lt;BR /&gt;&lt;BR /&gt;I probably won't get back to this until Monday morning...  will read replies, assign points, etc. then.&lt;BR /&gt;&lt;BR /&gt;Thanks for any advice.&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Fri, 03 Jun 2005 13:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905270#M837813</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-06-03T13:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905271#M837814</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Process IDs on the application node making a call to the Oracle server on node B can be found as follows...&lt;BR /&gt;&lt;BR /&gt;# lsof -iTCP@&lt;NODENAME of="" b=""&gt;:&lt;PORT number="" of="" oracle="" listener="" on="" node="" b=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example if IP of oracle server is 10.11.12.13 and the oracle listener process is listening on port 1521...then run the follwing on your application node:&lt;BR /&gt;&lt;BR /&gt;# lsof -iTCP@10.11.12.13:1521&lt;BR /&gt;&lt;BR /&gt;cheers!&lt;/PORT&gt;&lt;/NODENAME&gt;</description>
      <pubDate>Fri, 03 Jun 2005 15:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905271#M837814</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-06-03T15:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905272#M837815</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;well this is pretty normal and depends on the db-requests the application sends.&lt;BR /&gt;&lt;BR /&gt;A select with a small result set might need low application resources and can require big db-resources i.e. if a full tablescan is needed to get the result.&lt;BR /&gt;&lt;BR /&gt;Your problem might not be lack of CPU resource on node B but more related to poor application design.&lt;BR /&gt;&lt;BR /&gt;I think you will need to do some tuning.&lt;BR /&gt;Install the Oracle statspack and get some snapshots and print the reports.&lt;BR /&gt;Calculate DB-statistics frequently. &lt;BR /&gt;This will quickly show some hints where to go on.&lt;BR /&gt;&lt;BR /&gt;Good hunting&lt;BR /&gt;Volker&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Jun 2005 12:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905272#M837815</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2005-06-05T12:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: which user process on SG node A causes Oracle process on SG node b?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905273#M837816</link>
      <description>Thanks everyone. lsof is providing the information I asked for. Thanks "sandman" for the proper syntax.&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Tue, 07 Jun 2005 13:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-user-process-on-sg-node-a-causes-oracle-process-on-sg-node/m-p/4905273#M837816</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-06-07T13:33:58Z</dc:date>
    </item>
  </channel>
</rss>

