<?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: Percent cpu utilization per process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654590#M241012</link>
    <description># UNIX95= ps -e -o pid,comm,pcpu|sort -krn3 and # top will be helpful to % utilization. &lt;BR /&gt;Also checkout some performance tools for HP-UX &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/dld/dld_DownloadsListingPage_IDX/1,2381,11169,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/dld/dld_DownloadsListingPage_IDX/1,2381,11169,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Fri, 21 Oct 2005 05:16:07 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2005-10-21T05:16:07Z</dc:date>
    <item>
      <title>Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654585#M241007</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I'm porting a ksh script written to monitor the percent cpu utilization and percent memory utilization for certain process in the process table on Tru64 Unix. This script uses ps auxw command to get the %cpu and %memory utilization for all the processe in the ps table. Is there a equivalent command I can use on HP-UX to get the %CPU utilization and %memory utilization. HP-UX version HP-UX B 11.23.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kaushik</description>
      <pubDate>Fri, 21 Oct 2005 05:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654585#M241007</guid>
      <dc:creator>kaushikbramesh</dc:creator>
      <dc:date>2005-10-21T05:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654586#M241008</link>
      <description>You can use,&lt;BR /&gt;&lt;BR /&gt; a) top&lt;BR /&gt; b) UNIX95= ps -ef -o cpu,pcpu,pid,comm (cpu %)&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Fri, 21 Oct 2005 05:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654586#M241008</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T05:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654587#M241009</link>
      <description>I believe that what you are looking for is "ps" command.&lt;BR /&gt;&lt;BR /&gt;"man ps" - for more options.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alex</description>
      <pubDate>Fri, 21 Oct 2005 05:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654587#M241009</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-21T05:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654588#M241010</link>
      <description>You can get %CPU, but I don't think you can get %mem.&lt;BR /&gt;&lt;BR /&gt;See&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964927" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964927&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for details</description>
      <pubDate>Fri, 21 Oct 2005 05:04:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654588#M241010</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-10-21T05:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654589#M241011</link>
      <description>I hope you can get memory size utilization with top or UNIX95 + ps command.&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -ef -o cpu,pcpu,pid,sz,vsz,comm gives that.&lt;BR /&gt;&lt;BR /&gt;# glance may give (Don't know)&lt;BR /&gt;# openview + extract may give that too.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Fri, 21 Oct 2005 05:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654589#M241011</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T05:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654590#M241012</link>
      <description># UNIX95= ps -e -o pid,comm,pcpu|sort -krn3 and # top will be helpful to % utilization. &lt;BR /&gt;Also checkout some performance tools for HP-UX &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/dld/dld_DownloadsListingPage_IDX/1,2381,11169,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/dld/dld_DownloadsListingPage_IDX/1,2381,11169,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 21 Oct 2005 05:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654590#M241012</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-21T05:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654591#M241013</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Using export UNIX95=true&lt;BR /&gt;ps ps -ef -o uid,pid,pcpu,vsz,sz,state,stime,time,comm&lt;BR /&gt;&lt;BR /&gt;gives me the %CPU. I dont see any arguments to find the %MEM.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kaushik</description>
      <pubDate>Fri, 21 Oct 2005 05:22:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654591#M241013</guid>
      <dc:creator>kaushikbramesh</dc:creator>
      <dc:date>2005-10-21T05:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654592#M241014</link>
      <description>yes,&lt;BR /&gt;&lt;BR /&gt;You can only get %CPU statistics. You can memory size utilization but not the %MEM statistics.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654592#M241014</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T05:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654593#M241015</link>
      <description>It's sz and vsz fields:&lt;BR /&gt;&lt;BR /&gt;sz - The size in physical pages of the core image of the process, including text, data, and stack space.  Physical page size is defined by _SC_PAGE_SIZE in the header file.&lt;BR /&gt;&lt;BR /&gt;vsz - The size in kilobytes (1024 byte units) of the core image of the process. &lt;BR /&gt;&lt;BR /&gt;(from man)&lt;BR /&gt;&lt;BR /&gt;Alex.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654593#M241015</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-21T05:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654594#M241016</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;Thanks for all your quick replies.&lt;BR /&gt;Heres a sample of what I get from ps auxw on Tru64&lt;BR /&gt;&lt;BR /&gt;USER            PID %CPU %MEM   VSZ  RSS TTY      S    STARTED         TIME COMMAND&lt;BR /&gt;root         274249 20.5  1.6 73.2M  66M ??       S      Mar 02  2-00:28:26 /usr/sbin/cron&lt;BR /&gt;kaushik      230295  0.3  0.0 11.2M 1.6M ??       S    09:41:37     0:03.35 /usr/dt/bin/dtterm -ls&lt;BR /&gt;root         292798  0.1  0.0 2.61M 328K pts/5    S    11:19:59     0:00.02 ksh&lt;BR /&gt;&lt;BR /&gt;I extract column 3 and column 4 as a routine monitoring. If either the CPU util or the MEM util exceeds a certain limit I need to raise a trap.&lt;BR /&gt;&lt;BR /&gt;The ps command indeed solves the problem of %CPU. I have not found anything in the  ps man pages to give me the %MEM per process.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Kaushik</description>
      <pubDate>Fri, 21 Oct 2005 05:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654594#M241016</guid>
      <dc:creator>kaushikbramesh</dc:creator>
      <dc:date>2005-10-21T05:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654595#M241017</link>
      <description>Hi, You may need to look at this page for more information, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.circle4.com/jaqui/papers/cmgunixp.html" target="_blank"&gt;http://www.circle4.com/jaqui/papers/cmgunixp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 21 Oct 2005 05:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654595#M241017</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-21T05:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654596#M241018</link>
      <description>Tru64 is support %MEM with pmem field. &lt;BR /&gt;&lt;A href="http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V40G_HTML/MAN/MAN1/0287____.HTM" target="_blank"&gt;http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V40G_HTML/MAN/MAN1/0287____.HTM&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth</description>
      <pubDate>Fri, 21 Oct 2005 05:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654596#M241018</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T05:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Percent cpu utilization per process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654597#M241019</link>
      <description>Well, if you want % value, you can alsways calculate it.&lt;BR /&gt;&lt;BR /&gt;(proc mem / total mem) * 100&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Fri, 21 Oct 2005 05:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/percent-cpu-utilization-per-process/m-p/3654597#M241019</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-21T05:50:52Z</dc:date>
    </item>
  </channel>
</rss>

