<?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: how does attaching tusc to a process effect that process? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-does-attaching-tusc-to-a-process-effect-that-process/m-p/2491549#M19579</link>
    <description>Richard,&lt;BR /&gt;Here's a note about tusc that you might find helpful:&lt;BR /&gt;&lt;BR /&gt;Tusc&lt;BR /&gt;Uses ptrace() and ttrace() (what debuggers use) to gather it's statistics. This was created for HPUX 11 by Chris Bertin. &lt;BR /&gt;&lt;BR /&gt;Strength: As compared to "trace", it prints out a little more useful info with some system calls and is able to trace signals. Kartik's (original author of trace) assessment of tusc as compared to trace: "Tusc is a better program overall than trace. One of its biggest benefits is that tusc can display the contents of buffers passed to system calls, whereas my trace program could not." &lt;BR /&gt;&lt;BR /&gt;Weakness: It is probably as bad as some other tools in it's skewing of timing and possibly program behavior due to the context switching per traced item (with every traced signal and event). &lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Brian Hackley&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Feb 2001 20:35:12 GMT</pubDate>
    <dc:creator>Brian Hackley</dc:creator>
    <dc:date>2001-02-13T20:35:12Z</dc:date>
    <item>
      <title>how does attaching tusc to a process effect that process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-does-attaching-tusc-to-a-process-effect-that-process/m-p/2491547#M19577</link>
      <description>I've noticed when looking at a process( that is behaving&lt;BR /&gt;badly) with tusc that as soon as I attach tusc to the process&lt;BR /&gt;the CPU consumption of that process drops dramtically.&lt;BR /&gt;Apparently tusc serializes the process.  Can someone&lt;BR /&gt;here tell me exactly what's happening if possible?&lt;BR /&gt;&lt;BR /&gt;The process is multi-threaded.</description>
      <pubDate>Thu, 08 Feb 2001 18:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-does-attaching-tusc-to-a-process-effect-that-process/m-p/2491547#M19577</guid>
      <dc:creator>Richard Hubbell</dc:creator>
      <dc:date>2001-02-08T18:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: how does attaching tusc to a process effect that process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-does-attaching-tusc-to-a-process-effect-that-process/m-p/2491548#M19578</link>
      <description>I can not give all the specifics on what happens, but here is what I know anyway.&lt;BR /&gt;&lt;BR /&gt;Tusc intercepts all calls from that application, usually making it much slower.  When the application performs a task like "malloc", tusc intercepts the call, performs the call for the application, and passes the memory space back to the application.  It is supposed to be a middle-man for the application allowing for debugging applications.&lt;BR /&gt;&lt;BR /&gt;Perhaps tusc operates at a low system priority it does not take up as much CPU, but more likely it is because tusc is intercepting all calls, logging each call, then performing the call, and logging the result, then giving the called resource back to the application it does not need that much CPU :)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 08 Feb 2001 20:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-does-attaching-tusc-to-a-process-effect-that-process/m-p/2491548#M19578</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-02-08T20:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: how does attaching tusc to a process effect that process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-does-attaching-tusc-to-a-process-effect-that-process/m-p/2491549#M19579</link>
      <description>Richard,&lt;BR /&gt;Here's a note about tusc that you might find helpful:&lt;BR /&gt;&lt;BR /&gt;Tusc&lt;BR /&gt;Uses ptrace() and ttrace() (what debuggers use) to gather it's statistics. This was created for HPUX 11 by Chris Bertin. &lt;BR /&gt;&lt;BR /&gt;Strength: As compared to "trace", it prints out a little more useful info with some system calls and is able to trace signals. Kartik's (original author of trace) assessment of tusc as compared to trace: "Tusc is a better program overall than trace. One of its biggest benefits is that tusc can display the contents of buffers passed to system calls, whereas my trace program could not." &lt;BR /&gt;&lt;BR /&gt;Weakness: It is probably as bad as some other tools in it's skewing of timing and possibly program behavior due to the context switching per traced item (with every traced signal and event). &lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Brian Hackley&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2001 20:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-does-attaching-tusc-to-a-process-effect-that-process/m-p/2491549#M19579</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2001-02-13T20:35:12Z</dc:date>
    </item>
  </channel>
</rss>

