<?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: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450207#M358558</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) I need detailed notes for understanding the outputs of top, sar, vmstat, glance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Steven,&lt;BR /&gt;&lt;BR /&gt;Do you have any sample script for total cpu, memory utilization and top 3 or 10 process based on memory and cpu utilization?.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 01 Jul 2009 11:11:38 GMT</pubDate>
    <dc:creator>senthil_kumar_1</dc:creator>
    <dc:date>2009-07-01T11:11:38Z</dc:date>
    <item>
      <title>CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450203#M358554</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;We are uning Linux (Redhat and Suse) and HPUX (11.00 and 11.11).&lt;BR /&gt;&lt;BR /&gt;Adventnet's monitoring tool "opsmanager" is being used to monitor the Linux and HPUX servers.&lt;BR /&gt;&lt;BR /&gt;Actually we are getting lot of alert messages for more CPU and Memory utilization in almost all servers.&lt;BR /&gt;&lt;BR /&gt;But we can find idle CPU - 90% thru "top" command manually.&lt;BR /&gt;&lt;BR /&gt;Is there any command to find the total CPU utilization and Memory utilization for eahc platform Linux and HPUX?&lt;BR /&gt;&lt;BR /&gt;How to find the Top 3 CPU and Memory Utilized process?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 13:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450203#M358554</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-06-30T13:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450204#M358555</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Is there any command to find the total CPU utilization and Memory utilization for eahc platform Linux and HPUX?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;many. top, sar, vmstat, glance, etc..&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;How to find the Top 3 CPU and Memory Utilized process?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;ofcourse top command will provide the top resource consuming process. Glance is more sphosticated tool. &lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 13:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450204#M358555</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-06-30T13:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450205#M358556</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; How to find the Top 3 CPU and Memory Utilized process? &lt;BR /&gt;&lt;BR /&gt;Instantly in a single interval or over some period of time?&lt;BR /&gt;&lt;BR /&gt;One of the best tools for performance monitoring in HP-UX is 'glance'.  If you don't have it, you should.  A 30-day trial version can be obtained from the Application CDRoM.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Jun 2009 13:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450205#M358556</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-30T13:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450206#M358557</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I would use this for memory processes:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=8" target="_blank"&gt;http://www.hpux.ws/?p=8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would then re-write it to get the top three cpu processes, which is pretty easy.&lt;BR /&gt;&lt;BR /&gt;You say:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;Adventnet's monitoring tool "opsmanager" is being used to monitor the Linux and HPUX servers.&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;My response is I can do it just as well with a shell script for less money.&lt;BR /&gt;&lt;BR /&gt;Why are we mentioning this tool? I'm confused.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 30 Jun 2009 14:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450206#M358557</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-30T14:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450207#M358558</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) I need detailed notes for understanding the outputs of top, sar, vmstat, glance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Steven,&lt;BR /&gt;&lt;BR /&gt;Do you have any sample script for total cpu, memory utilization and top 3 or 10 process based on memory and cpu utilization?.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 11:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450207#M358558</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-07-01T11:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450208#M358559</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You say, my comments inline:&lt;BR /&gt;1) I need detailed notes for understanding the outputs of top, sar, vmstat, glance.&lt;BR /&gt;&lt;BR /&gt;top:&lt;BR /&gt;&lt;A href="http://www.webmasterworld.com/forum40/1205.htm" target="_blank"&gt;http://www.webmasterworld.com/forum40/1205.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.teamquest.com/resources/gunther/display/5/" target="_blank"&gt;http://www.teamquest.com/resources/gunther/display/5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2006-08/msg00172.html" target="_blank"&gt;http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2006-08/msg00172.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cyberciti.biz/tips/understanding-linux-and-unix-load-average.html" target="_blank"&gt;http://www.cyberciti.biz/tips/understanding-linux-and-unix-load-average.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sar is more of an rtfm issue:&lt;BR /&gt;&lt;A href="http://www.unix.com/hp-ux/42198-sar-output-gives-98-idle-cpu.html" target="_blank"&gt;http://www.unix.com/hp-ux/42198-sar-output-gives-98-idle-cpu.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-d0.fnal.gov/computing/archive/unix_sys_diag.html" target="_blank"&gt;http://www-d0.fnal.gov/computing/archive/unix_sys_diag.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/c9b7c62cc92c5fb8?pli=1" target="_blank"&gt;http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/c9b7c62cc92c5fb8?pli=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;vmstat:&lt;BR /&gt;&lt;A href="http://www.unix.com/unix-advanced-expert-users/30984-output-vmstat.html" target="_blank"&gt;http://www.unix.com/unix-advanced-expert-users/30984-output-vmstat.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.remote-dba.net/t_tuning_vmstat_utility.htm" target="_blank"&gt;http://www.remote-dba.net/t_tuning_vmstat_utility.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.adminschoice.com/docs/iostat_vmstat_netstat.htm" target="_blank"&gt;http://www.adminschoice.com/docs/iostat_vmstat_netstat.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I will skip glance because the man pages are written by HP and are excellent.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Steven,&lt;BR /&gt;&lt;BR /&gt;Do you have any sample script for total cpu, memory utilization and top 3 or 10 process based on memory and cpu utilization?.&lt;BR /&gt;&lt;BR /&gt;This utility accepts command line input. If you tell it 3 or 10 as the first command line parameter that is how many processes it will monitor. It shows the top processes in terms of memory use.&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=8" target="_blank"&gt;http://www.hpux.ws/?p=8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As I said earlier, I am looking at writing one that does this based on top CPU users.&lt;BR /&gt;&lt;BR /&gt;I'm looking at the code and seeing how easy or hard this is going to be to get done.&lt;BR /&gt;&lt;BR /&gt;SEO</description>
      <pubDate>Wed, 01 Jul 2009 11:32:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450208#M358559</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-01T11:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450209#M358560</link>
      <description>&lt;!--!*#--&gt;I'm not looking for any points here.&lt;BR /&gt;&lt;BR /&gt;Here is the heart of the HP-UX code in the leak detector:&lt;BR /&gt;&lt;BR /&gt;if [ -z "$FILTER" ] &lt;BR /&gt;then&lt;BR /&gt; CL="ps -ef -o pid,sz,vsz,args | sort -nr -k 2,3| head -$NUM"&lt;BR /&gt;else&lt;BR /&gt; CL="ps -a -o pid,sz,vsz,args -C $FILTER  | sort -nr -k 2,3| head -$NUM"&lt;BR /&gt;fi &lt;BR /&gt;;;&lt;BR /&gt;&lt;BR /&gt;It merely does a reverse sort largest to smallest on fields two and three.&lt;BR /&gt;&lt;BR /&gt;To modify it to get the top CPU users, I would think we would need to add the right ps fields and sort by them.&lt;BR /&gt;&lt;BR /&gt;It looks simple. I'm suddenly interested in this.&lt;BR /&gt;&lt;BR /&gt;I would set up a new command line argument for the utility to permit a switch to determine the output.&lt;BR /&gt;&lt;BR /&gt;The parameter we would want to use is pcpu&lt;BR /&gt;&lt;BR /&gt;So I would say quick and dirty you can simply modify this utility to get you top cpu users.&lt;BR /&gt;&lt;BR /&gt;I'm looking at posting an update that will make my handy dandy memory leak detector able to do what you wish it to do.&lt;BR /&gt;&lt;BR /&gt;I'm actually starting up my HP-UX system in anticipation of testing this.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 12:02:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450209#M358560</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-01T12:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450210#M358561</link>
      <description>Shalom again,&lt;BR /&gt;&lt;BR /&gt;this part works:&lt;BR /&gt;&lt;BR /&gt;ps -ef -o pid,sz,vsz,args,pcpu | sort -nr -k 5| head -n 3&lt;BR /&gt;&lt;BR /&gt;The head statement gets you the top 3 after a sort&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 02 Jul 2009 09:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450210#M358561</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-02T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450211#M358562</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;I am using HPUX 10.20, 11.00 and 11.11.&lt;BR /&gt;&lt;BR /&gt;that command is throwing error message.&lt;BR /&gt;&lt;BR /&gt;Ex:&lt;BR /&gt;&lt;BR /&gt;root@lgsna:/root &amp;gt; ps -ef -o pid,sz,vsz,args,pcpu | sort -nr -k 5| head -n 3&lt;BR /&gt;ps: illegal option -- o&lt;BR /&gt;usage: ps [-edaxzflP] [-u ulist] [-g glist] [-p plist] [-t tlist] [-R prmgroup] [-Z psetidlist]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jul 2009 11:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450211#M358562</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-07-02T11:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450212#M358563</link>
      <description>Senthil, &lt;BR /&gt;&lt;BR /&gt;This link will help u ..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://research.att.com/~gsf/man/man1/ps.html" target="_blank"&gt;http://research.att.com/~gsf/man/man1/ps.html&lt;/A&gt;</description>
      <pubDate>Thu, 02 Jul 2009 12:27:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450212#M358563</guid>
      <dc:creator>Sivakumar MJ._1</dc:creator>
      <dc:date>2009-07-02T12:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450213#M358564</link>
      <description>&amp;gt;that command is throwing error message.&lt;BR /&gt;&amp;gt; ps -ef -o pid,sz,vsz,args,pcpu&lt;BR /&gt;&lt;BR /&gt;The proper way to use ps(1) is:&lt;BR /&gt;UNIX95=EXTENDED_PS ps -ef -o pid,sz,vsz,args,pcpu</description>
      <pubDate>Thu, 02 Jul 2009 12:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450213#M358564</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-02T12:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450214#M358565</link>
      <description>Hi Senthil&lt;BR /&gt;&lt;BR /&gt;It will help you&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "vsz pcpu ruser pid stime time state args" | sort -rn |head -3&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Sanjeev &lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jul 2009 16:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450214#M358565</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2009-07-02T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450215#M358566</link>
      <description>Hi Senthil:&lt;BR /&gt;&lt;BR /&gt;Notice very carefully that there is no semicolon on the command line after "UNIX95=".&lt;BR /&gt;&lt;BR /&gt;Writing :&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps ...&lt;BR /&gt;&lt;BR /&gt;(or as Dennis likes to do:&lt;BR /&gt;&lt;BR /&gt;# UNIX95=EXTENDED_PS ps ...&lt;BR /&gt;&lt;BR /&gt;sets the UNIX95 (XPG4) behavior _only_ for the duration of the commmand line.  You do not want to capriciously set UNIX95 in your shell environment.  WHen set, the behavior of various commands is subtly altered.  With 'ps' the option is required to use a custom output format ( the '-o' arguments ).&lt;BR /&gt;&lt;BR /&gt;Using 'UNIX95' as an lvalue (left of an equal sign) sets it regardless of whether or not anything follows the equal (assignment) sign.  Its for this reason that Dennis prefers his notation --- clarity.  You could do:&lt;BR /&gt;&lt;BR /&gt;# UNIX95=1 ps ...&lt;BR /&gt;&lt;BR /&gt;OR:&lt;BR /&gt;&lt;BR /&gt;# UNIX95=0 ps ...&lt;BR /&gt;&lt;BR /&gt;OR:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps ...&lt;BR /&gt;&lt;BR /&gt;ALL three forms are equivalent so beware.&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'ps(1)' for more about the UNIX95 (XPG4) behavior; the '-o' option and others!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 02 Jul 2009 17:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450215#M358566</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-02T17:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450216#M358567</link>
      <description>No points please.&lt;BR /&gt;&lt;BR /&gt;Yes, my post requires UNIX95 be set, it was pulled from a script that uses UNIX95.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 02 Jul 2009 17:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450216#M358567</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-02T17:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450217#M358568</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Why we are using UNIX95.&lt;BR /&gt;&lt;BR /&gt;Pls explain me.</description>
      <pubDate>Mon, 06 Jul 2009 17:25:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450217#M358568</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-07-06T17:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450218#M358569</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The UNIX95 variable needs to be set in order for my ps command to work.&lt;BR /&gt;&lt;BR /&gt;If UNIX95 is not set to 1 you don't get the process information my command requests.&lt;BR /&gt;&lt;BR /&gt;Why? Really I never asked. I just took it for granted and did it. Maybe that says something about me.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.com/group/comp.os.linux/browse_thread/thread/ea49dc5b68670333/f0b5f70e6e7a758c" target="_blank"&gt;http://groups.google.com/group/comp.os.linux/browse_thread/thread/ea49dc5b68670333/f0b5f70e6e7a758c&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.springerlink.com/content/h5933m7011504052/" target="_blank"&gt;http://www.springerlink.com/content/h5933m7011504052/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You may have to do some reading.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 06 Jul 2009 18:05:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450218#M358569</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-06T18:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450219#M358570</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SEP: The UNIX95 variable needs to be set in order for my ps command to work.  If UNIX95 is not set to 1 you don't get the process information my command requests.&lt;BR /&gt;&lt;BR /&gt;Wrong! You can set it to _ANY_ value, even to zero (0).  Read again my post above of July 2.  What matters is that UNIX95 is an lvalue.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SEP: Why? Really I never asked. I just took it for granted and did it.&lt;BR /&gt;&lt;BR /&gt;Empirical data is very enlightening.  Heuristics help too.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; Senthil: Why we are using UNIX95.&lt;BR /&gt;&lt;BR /&gt;The simple answer is that to use the '-o' format of the 'ps' option you need to set XPG4 (UNIX95) behavior.  That's what the manpages would tell you!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 06 Jul 2009 20:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450219#M358570</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-06T20:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450220#M358571</link>
      <description>Okay JRF,&lt;BR /&gt;&lt;BR /&gt;The UNIX95 variable needs to be set in order for my ps command to work.&lt;BR /&gt;&lt;BR /&gt;If its not set to something, the command will not work.&lt;BR /&gt;&lt;BR /&gt;Please tell me if that statement requires parsing?&lt;BR /&gt;&lt;BR /&gt;To summarize my statement. I never knew why I used UNIX95, except if I didn't set it, the utilities on my web site and the successors I'm developing for this thread WOULD NOT WORK.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;The simple answer is that to use the '-o' format of the 'ps' option you need to set XPG4 (UNIX95) behavior. That's what the manpages would tell you!&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Thanks for the explanation and parsing.&lt;BR /&gt;&lt;BR /&gt;Please do not assign any points to this answer.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jul 2009 21:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450220#M358571</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-06T21:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450221#M358572</link>
      <description>Besides the variable UNIX95, there is also UNIX_STD.  This can have some specific values for 11.31.</description>
      <pubDate>Tue, 07 Jul 2009 07:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450221#M358572</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-07T07:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization, Memory Utilization and TOP 3 CPU and Memory Utilized process.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450222#M358573</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Now i have found some commands to find the cpu and memory utilization.&lt;BR /&gt;&lt;BR /&gt;1)Linux:&lt;BR /&gt;&lt;BR /&gt;1.1)percentage of total cpu utilization:&lt;BR /&gt;&lt;BR /&gt;# ps -eo user,pid,pcpu,comm | awk '{x += $3} END {print x}'&lt;BR /&gt;23.2&lt;BR /&gt;&lt;BR /&gt;1.2)Top 3 CPU utilizing process:&lt;BR /&gt;&lt;BR /&gt;# ps -eo user,pid,pcpu,comm | sort -nrbk3 | head -3&lt;BR /&gt;oracle   11730 21.5 oracle&lt;BR /&gt;oracle   12732  5.0 oracle&lt;BR /&gt;oracle   12670  3.3 oracle&lt;BR /&gt;&lt;BR /&gt;1.3)percentage of total memory utilization:&lt;BR /&gt;&lt;BR /&gt;# ps -eo user,pid,pmem,comm | awk '{x += $3} END {print x}'&lt;BR /&gt;2.1&lt;BR /&gt;&lt;BR /&gt;1.4)top 3 memory utilizing process.&lt;BR /&gt;&lt;BR /&gt;emdlagas1105:~ # ps -eo user,pid,pmem,comm | sort -nrbk3 | head -3&lt;BR /&gt;eekcpq   10315  1.1 Ice&lt;BR /&gt;lsutto   20414  1.0 java&lt;BR /&gt;root     31928  0.0 snmpd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)HP UNIX:&lt;BR /&gt;&lt;BR /&gt;2.1)percentage of total CPU utilization:&lt;BR /&gt;&lt;BR /&gt;root&amp;gt;UNIX95= ps -eo user,pid,pcpu,comm | awk '{x += $3} END {print x}'&lt;BR /&gt;35.99&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2.2)Top 3 CPU utilized process:&lt;BR /&gt;&lt;BR /&gt;root&amp;gt; UNIX95= ps -eo user,pid,pcpu,comm | sort -nrbk3 | head -3&lt;BR /&gt;bpulak   26189  2.47 smbd&lt;BR /&gt;oracle9  29795  1.13 oraclemaximolg&lt;BR /&gt;root      1038  0.86 syncer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2.3)percentage of total memory utilization:&lt;BR /&gt;&lt;BR /&gt;The below command is not working.&lt;BR /&gt;&lt;BR /&gt;root &amp;gt; UNIX95= ps -eo user,pid,pmem,comm | awk '{x += $3} END {print x}'&lt;BR /&gt;ps: pmem is not a valid field name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2.4)Top 3 memory utilized process:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -eo user,pid,pmem,comm | sort -nrbk3 | head -3&lt;BR /&gt;ps: pmem is not a valid field name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have follwoing questions:&lt;BR /&gt;&lt;BR /&gt;1) are all 1.1, 1.2, 1,3, 1.4 are correct?&lt;BR /&gt;2) are all 1.1, 1.2 are correct?&lt;BR /&gt;3) why pmem is not working in HPUX, how to solve this?&lt;BR /&gt;4)do you have any other method to find the cpu utilization and memory utilization like above.?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jul 2009 18:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-memory-utilization-and-top-3-cpu-and-memory/m-p/4450222#M358573</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-07-13T18:26:58Z</dc:date>
    </item>
  </channel>
</rss>

