<?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: Tools for performance monitoring/memory checks in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178314#M90965</link>
    <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;If you haven't fiddled with LPATH, the &amp;gt;linker should find in &amp;gt;in /opt/langtools/lib/hpux??/. &lt;BR /&gt;&lt;BR /&gt;I did a &lt;BR /&gt;&lt;BR /&gt;"setenv LPATH /opt/langtools/lib/hpux64:$LPATH"&lt;BR /&gt;&lt;BR /&gt;and the linkage worked fine after that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;-I/usr/include &lt;BR /&gt;&lt;BR /&gt;&amp;gt;You should NOT specify the default include &amp;gt;path, remove it. &lt;BR /&gt;&lt;BR /&gt;Why should I remove this include? I can't seem to realize why does it make such a big difference...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Miguel</description>
    <pubDate>Fri, 11 Apr 2008 14:55:07 GMT</pubDate>
    <dc:creator>Miguel Silva Rentes</dc:creator>
    <dc:date>2008-04-11T14:55:07Z</dc:date>
    <item>
      <title>Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178308#M90959</link>
      <description>Hi everynone!&lt;BR /&gt;&lt;BR /&gt;I want to know if there are performance tools for HP-UX and/or some kind of tool that can check in a given C program for memory leaks, incorrect C coding, etc. &lt;BR /&gt;&lt;BR /&gt;I have a C process that is crashing while doing a simple SQL update (I'm using Pro C and an Oracle DB server version 10.2.0.2) and I want to know if there are some kind of memory leaks or incorrect C coding in this process.&lt;BR /&gt;So, I need to know if there are tools that can help me with this crash. &lt;BR /&gt;&lt;BR /&gt;I also believe that the problem is not on the Oracle side because this process is the only one that crashes in a set of processes that makes SQL update/inserts/deletes, all with no problem.&lt;BR /&gt;&lt;BR /&gt;If you can point to me some URLs or documentation I'd be very appreciated.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Miguel Rentes</description>
      <pubDate>Fri, 11 Apr 2008 08:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178308#M90959</guid>
      <dc:creator>Miguel Silva Rentes</dc:creator>
      <dc:date>2008-04-11T08:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178309#M90960</link>
      <description>Are you on PA or IPF?  For Integrity there is +check= options to check for various errors.  It also has +check=malloc for heap problems using gdb:&lt;BR /&gt;&lt;A href="http://www.hp.com/go/wdb" target="_blank"&gt;http://www.hp.com/go/wdb&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/10946/options.htm#opt+checkalloption" target="_blank"&gt;http://docs.hp.com/en/10946/options.htm#opt+checkalloption&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For PA, there is just gdb's heap checking.&lt;BR /&gt;&lt;BR /&gt;Also on PA and IPF is Cadvise to check for coding errors:&lt;BR /&gt;&lt;A href="http://www.hp.com/go/cadvise" target="_blank"&gt;http://www.hp.com/go/cadvise&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For IPF performance tools there is caliper:&lt;BR /&gt;&lt;A href="http://www.hp.com/go/caliper" target="_blank"&gt;http://www.hp.com/go/caliper&lt;/A&gt;</description>
      <pubDate>Fri, 11 Apr 2008 08:46:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178309#M90960</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-11T08:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178310#M90961</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm in a HP-UX 11iv2 (11.23) Itanium 2 server. &lt;BR /&gt;&lt;BR /&gt;I'm checking out caliper and the flag +check=all.&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Miguel Rentes</description>
      <pubDate>Fri, 11 Apr 2008 09:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178310#M90961</guid>
      <dc:creator>Miguel Silva Rentes</dc:creator>
      <dc:date>2008-04-11T09:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178311#M90962</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;While inserting the flag +check=all at compile and linkage time, the linker can't find librtc and I've done a find on the file system and there is no library with such name. Do I have to download it somewhere?&lt;BR /&gt;&lt;BR /&gt;This is the linkage snapshot:&lt;BR /&gt;&lt;BR /&gt;cc +DD64 +tru64 -mt -Wl,+as,mpas -D_NO_PROTO -DDEBUG_PRINT -D__alpha -D_XOPEN_SOURCE_EXTENDED +check=all  -D__ORACLE__  -D__hpux  -DDEBUG_PRINT -g0  -DSTRINGS_ALIGNED -DSNAPSHOT -D_BSD  -I/usr/include  -I/scatex/13/scatex/hdr  -I/scatex/13/scatex/lib  -I/usr/include/X11R6  -I/usr/include/Motif2.1 -g0 -o arc arc.o  slow_arc.o  fast_arc.o  ddb_arc.o     /scatex/13/sxbin/libsx_ora.a  /scatex/13/sxbin/libseemdb_ora.a  /scatex/13/sxbin/libelcmdb_ora.a  /scatex/13/sxbin/libpaco_ora.a  /scatex/13/sxbin/libarc_ora.a  -lMrm -lXm -lXt -lX11  -lclntst10 -lnsl -lpthread -lCsup -lunwind -lm&lt;BR /&gt;ld: Can't find library for -lrtc&lt;BR /&gt;Fatal error.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Miguel Rentes</description>
      <pubDate>Fri, 11 Apr 2008 09:17:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178311#M90962</guid>
      <dc:creator>Miguel Silva Rentes</dc:creator>
      <dc:date>2008-04-11T09:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178312#M90963</link>
      <description>Just found the librtc I was looking for =)&lt;BR /&gt;&lt;BR /&gt;This is what I found:&lt;BR /&gt;&lt;BR /&gt;./opt/langtools/lib/hpux32/librtc_aux.a&lt;BR /&gt;./opt/langtools/lib/hpux32/librtc.so.1&lt;BR /&gt;./opt/langtools/lib/hpux64/librtc_aux.a&lt;BR /&gt;./opt/langtools/lib/hpux64/librtc.so.1&lt;BR /&gt;&lt;BR /&gt;Sorry!&lt;BR /&gt;&lt;BR /&gt;I'll link my process with ./opt/langtools/lib/hpux64/librtc.so.1&lt;BR /&gt; and give it a try.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Miguel Rentes</description>
      <pubDate>Fri, 11 Apr 2008 09:27:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178312#M90963</guid>
      <dc:creator>Miguel Silva Rentes</dc:creator>
      <dc:date>2008-04-11T09:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178313#M90964</link>
      <description>&amp;gt;the linker can't find librtc&lt;BR /&gt;&lt;BR /&gt;If you haven't fiddled with LPATH, the linker should find in in /opt/langtools/lib/hpux??/.&lt;BR /&gt;&lt;BR /&gt;-I/usr/include&lt;BR /&gt;&lt;BR /&gt;You should NOT specify the default include path, remove it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I'll link my process with  /opt/langtools/lib/hpux64/librtc.so.1&lt;BR /&gt;&lt;BR /&gt;This should automatically happen.&lt;BR /&gt;&lt;BR /&gt;Also you can use +wlint for code analysis.</description>
      <pubDate>Fri, 11 Apr 2008 09:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178313#M90964</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-11T09:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178314#M90965</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;If you haven't fiddled with LPATH, the &amp;gt;linker should find in &amp;gt;in /opt/langtools/lib/hpux??/. &lt;BR /&gt;&lt;BR /&gt;I did a &lt;BR /&gt;&lt;BR /&gt;"setenv LPATH /opt/langtools/lib/hpux64:$LPATH"&lt;BR /&gt;&lt;BR /&gt;and the linkage worked fine after that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;-I/usr/include &lt;BR /&gt;&lt;BR /&gt;&amp;gt;You should NOT specify the default include &amp;gt;path, remove it. &lt;BR /&gt;&lt;BR /&gt;Why should I remove this include? I can't seem to realize why does it make such a big difference...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Miguel</description>
      <pubDate>Fri, 11 Apr 2008 14:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178314#M90965</guid>
      <dc:creator>Miguel Silva Rentes</dc:creator>
      <dc:date>2008-04-11T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178315#M90966</link>
      <description>&amp;gt;I did a "setenv LPATH /opt/langtools/lib/hpux64:$LPATH" and the linkage worked fine after that.&lt;BR /&gt;&lt;BR /&gt;Yes but you shouldn't be using LPATH at all.  It is reserved for the driver.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Why should I remove this include? I can't seem to realize why does it make such a big difference...&lt;BR /&gt;&lt;BR /&gt;Because it is a common mistake, especially with aCC.  By adding the default in the wrong place, you may be messing up some complex set of -I paths that the driver supplies.</description>
      <pubDate>Fri, 11 Apr 2008 19:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178315#M90966</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-11T19:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178316#M90967</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;I've set the LPATH environment variable because it was the only way that ld could find librtc. If I don't set LPATH how can I make ld find that librtc in /opt/langtools/lib/hpux64 ? I tested setting LD_LIBRARY_PATH and SHLIB_PATH and didn't work. Only setting LPATH did the job.&lt;BR /&gt;&lt;BR /&gt;Regarding "-I/usr/include" I will take it out.&lt;BR /&gt;&lt;BR /&gt;Thanks for the advices!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Miguel Rentes</description>
      <pubDate>Sat, 12 Apr 2008 09:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178316#M90967</guid>
      <dc:creator>Miguel Silva Rentes</dc:creator>
      <dc:date>2008-04-12T09:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tools for performance monitoring/memory checks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178317#M90968</link>
      <description>&amp;gt;I've set the LPATH environment variable because it was the only way that ld could find librtc. &lt;BR /&gt;&lt;BR /&gt;The driver should automatically set LPATH for you, if not already set.</description>
      <pubDate>Sat, 12 Apr 2008 10:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tools-for-performance-monitoring-memory-checks/m-p/4178317#M90968</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-12T10:15:09Z</dc:date>
    </item>
  </channel>
</rss>

