<?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 single process cpu utilization in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034029#M757527</link>
    <description>I am trying to figure out a way to see the cpu utilization of a process. My goal is to have a script that checks whether a particular process is using 100% of the a cpu. My company has HIDS implemented and it chews up a processor every week. I would like to either alert meyself so I can stop and restart the process or have a script that does it for me. Any ideas? I thought of outputing top to a file and parsing the output, but that looks ugly. I was also thinking of using glance in advisor only mode. Not sure how to get it to watch that particular process.</description>
    <pubDate>Wed, 14 Mar 2007 14:13:31 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2007-03-14T14:13:31Z</dc:date>
    <item>
      <title>single process cpu utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034029#M757527</link>
      <description>I am trying to figure out a way to see the cpu utilization of a process. My goal is to have a script that checks whether a particular process is using 100% of the a cpu. My company has HIDS implemented and it chews up a processor every week. I would like to either alert meyself so I can stop and restart the process or have a script that does it for me. Any ideas? I thought of outputing top to a file and parsing the output, but that looks ugly. I was also thinking of using glance in advisor only mode. Not sure how to get it to watch that particular process.</description>
      <pubDate>Wed, 14 Mar 2007 14:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034029#M757527</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-14T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: single process cpu utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034030#M757528</link>
      <description>All right. I looked at the man for top and saw the -f switch. I think I have an idea now. Before I was doing:&lt;BR /&gt;&lt;BR /&gt;top -d 1 &amp;gt; top.out&lt;BR /&gt;&lt;BR /&gt;this included a bunch of formatting in the file. Using this is workable:&lt;BR /&gt;&lt;BR /&gt;top -d 1 -h -f top.out&lt;BR /&gt;&lt;BR /&gt;I can then write a script to find the process in the output and work from there.</description>
      <pubDate>Wed, 14 Mar 2007 14:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034030#M757528</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-14T14:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: single process cpu utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034031#M757529</link>
      <description>found my answer. &lt;BR /&gt;&lt;BR /&gt;P.S. I just noticed that I only needed to do&lt;BR /&gt;&lt;BR /&gt;top -f top.out&lt;BR /&gt;&lt;BR /&gt;also it appends to the file if you use it again. it doesn't overwrite the file.</description>
      <pubDate>Wed, 14 Mar 2007 14:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034031#M757529</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-14T14:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: single process cpu utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034032#M757530</link>
      <description>You can also use the command &lt;BR /&gt;#timex &lt;OPTIONS&gt; command.&lt;BR /&gt;&lt;/OPTIONS&gt;</description>
      <pubDate>Sat, 17 Mar 2007 10:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034032#M757530</guid>
      <dc:creator>Abhinesh AV</dc:creator>
      <dc:date>2007-03-17T10:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: single process cpu utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034033#M757531</link>
      <description>Dude, I am looking at an already running process. Timex is far from what I was looking for. I solved my problem.</description>
      <pubDate>Sat, 17 Mar 2007 10:22:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034033#M757531</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-17T10:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: single process cpu utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034034#M757532</link>
      <description>Please see my reply to your post at &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1108453" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1108453&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Pierre&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Mar 2007 15:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-process-cpu-utilization/m-p/5034034#M757532</guid>
      <dc:creator>Pierre Pasturel</dc:creator>
      <dc:date>2007-03-20T15:44:42Z</dc:date>
    </item>
  </channel>
</rss>

