<?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:  tusc command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768383#M260780</link>
    <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Try running "tusc" as root user. You were running from sksonkar. That is the reason for getting "Permission denied" &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Wed, 19 Apr 2006 22:50:38 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-04-19T22:50:38Z</dc:date>
    <item>
      <title>tusc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768379#M260776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to examine java process of weblogic server on hpux.&lt;BR /&gt;&lt;BR /&gt;Just wanted to know how to use "tusc" command to figure out if there is an issue ?&lt;BR /&gt;&lt;BR /&gt;If someone has real time example, it would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Apr 2006 12:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768379#M260776</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-04-08T12:37:30Z</dc:date>
    </item>
    <item>
      <title>Re:  tusc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768380#M260777</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;First of all, Install "tusc" in your system,&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Next, How to use "tusc" with Java&lt;BR /&gt;&lt;BR /&gt;Here is a good article from HP's DSPP&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2894,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2894,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Sat, 08 Apr 2006 12:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768380#M260777</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-04-08T12:46:33Z</dc:date>
    </item>
    <item>
      <title>Re:  tusc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768381#M260778</link>
      <description>Shalom Shiv,&lt;BR /&gt;&lt;BR /&gt;if the process is already running:&lt;BR /&gt;&lt;BR /&gt;Get the process id and assign it to the variable proc&lt;BR /&gt;&lt;BR /&gt;proc=$(ps -ef | grep &lt;PATTERN for="" weblogic=""&gt;| awk '{print $2}')&lt;BR /&gt;tusc -o $1 -p $proc &amp;amp;&lt;BR /&gt;&lt;BR /&gt;All you need to make it work is to come up with a unique pattern for the weblogic daemon. You actually have enough admin experience that you should be able to id the process without my extra code.&lt;BR /&gt;&lt;BR /&gt;This will hang a tusc collector on an already running process.&lt;BR /&gt;&lt;BR /&gt;You can use tusc to start the process as well.&lt;BR /&gt;&lt;BR /&gt;tusc -vfp -o /tmp/trace.log &lt;START script="" for="" tusc=""&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;Happy to assist further,&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/START&gt;&lt;/PATTERN&gt;</description>
      <pubDate>Sat, 08 Apr 2006 14:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768381#M260778</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-08T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re:  tusc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768382#M260779</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I tried to use "tusc" for Apache but got the output as shown below:-&lt;BR /&gt;&lt;BR /&gt;[sksonkar@bigguy:/usr/local/bin]$proc=$(ps -ef | grep apache| awk '{print $2}')&lt;BR /&gt;&lt;BR /&gt;[sksonkar@bigguy:/usr/local/bin]$ echo $proc&lt;BR /&gt;22025 22023 22024 22022 28054&lt;BR /&gt;&lt;BR /&gt;[sksonkar@bigguy:/usr/local/bin]$ ./tusc -o $1 -p $proc &amp;amp; &lt;BR /&gt;[1]     28332&lt;BR /&gt;[sksonkar@bigguy:/usr/local/bin]$ tusc: getproc(28054): No such process&lt;BR /&gt;tusc: ttrace(TT_PROC_ATTACH, 22025, 0, 0, dad0001, 0): Permission denied&lt;BR /&gt;tusc: ttrace(TT_PROC_ATTACH, 22023, 0, 0, dad0001, 0): Permission denied&lt;BR /&gt;tusc: ttrace(TT_PROC_ATTACH, 22024, 0, 0, dad0001, 0): Permission denied&lt;BR /&gt;tusc: ttrace(TT_PROC_ATTACH, 22022, 0, 0, dad0001, 0): Permission denied&lt;BR /&gt;tusc: process 28054 ("&lt;NO-NAME&gt;"): No such process.&lt;BR /&gt;tusc: no process to attach to&lt;BR /&gt;^C&lt;BR /&gt;[1] +  Done(1)                 ./tusc -o $1 -p $proc &amp;amp;&lt;BR /&gt;[sksonkar@bigguy:/usr/local/bin]$ &lt;BR /&gt;&lt;BR /&gt;Can someone suggest what these errors are ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv&lt;/NO-NAME&gt;</description>
      <pubDate>Wed, 19 Apr 2006 18:55:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768382#M260779</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-04-19T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re:  tusc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768383#M260780</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Try running "tusc" as root user. You were running from sksonkar. That is the reason for getting "Permission denied" &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 19 Apr 2006 22:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768383#M260780</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-04-19T22:50:38Z</dc:date>
    </item>
    <item>
      <title>Re:  tusc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768384#M260781</link>
      <description>I executed the $tusc command as a root user. &lt;BR /&gt;We use power broker to gain privileged access.</description>
      <pubDate>Thu, 20 Apr 2006 00:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-command/m-p/3768384#M260781</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-04-20T00:58:10Z</dc:date>
    </item>
  </channel>
</rss>

