<?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 CPU precentage by pid in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-precentage-by-pid/m-p/4496678#M680686</link>
    <description>I want to get a process CPU precentage by its pid with c language in hp-ux,&lt;BR /&gt;this function like   "double GetCPUbypid(int pid)" with c lanuage? I appreciate your answer!!!&lt;BR /&gt;thanks.&lt;BR /&gt;I</description>
    <pubDate>Mon, 14 Sep 2009 05:44:25 GMT</pubDate>
    <dc:creator>ciwoo</dc:creator>
    <dc:date>2009-09-14T05:44:25Z</dc:date>
    <item>
      <title>CPU precentage by pid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-precentage-by-pid/m-p/4496678#M680686</link>
      <description>I want to get a process CPU precentage by its pid with c language in hp-ux,&lt;BR /&gt;this function like   "double GetCPUbypid(int pid)" with c lanuage? I appreciate your answer!!!&lt;BR /&gt;thanks.&lt;BR /&gt;I</description>
      <pubDate>Mon, 14 Sep 2009 05:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-precentage-by-pid/m-p/4496678#M680686</guid>
      <dc:creator>ciwoo</dc:creator>
      <dc:date>2009-09-14T05:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: CPU precentage by pid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-precentage-by-pid/m-p/4496679#M680687</link>
      <description>is it the overall percentage like&lt;BR /&gt;&lt;BR /&gt;total cpu time used divide by (realtime cpu time used * nbcpu)?&lt;BR /&gt;&lt;BR /&gt;or instantaneous between 2 samples?&lt;BR /&gt;&lt;BR /&gt;in any case the times can be get with &lt;BR /&gt;pstat_getproc() &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you have pst_pctcpu in pst_status result of pstat_getproc().&lt;BR /&gt;&lt;BR /&gt;If you want to get it by thread use pstat_getlwp()&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Sep 2009 07:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-precentage-by-pid/m-p/4496679#M680687</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-09-14T07:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: CPU precentage by pid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-precentage-by-pid/m-p/4496680#M680688</link>
      <description>TKS</description>
      <pubDate>Wed, 16 Sep 2009 04:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-precentage-by-pid/m-p/4496680#M680688</guid>
      <dc:creator>ciwoo</dc:creator>
      <dc:date>2009-09-16T04:07:56Z</dc:date>
    </item>
  </channel>
</rss>

