<?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: Glance vs ps in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287730#M672579</link>
    <description>&amp;gt;Is there something similar for percentage of CPU usage?&lt;BR /&gt;&lt;BR /&gt;For top, it is the percentage of one CPU.  Perhaps for glance is a percentage of all CPUs?</description>
    <pubDate>Sat, 18 Oct 2008 10:28:02 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-10-18T10:28:02Z</dc:date>
    <item>
      <title>Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287724#M672573</link>
      <description>&lt;!--!*#--&gt;I'm trying to monitor a TeMIP implementation running on multiple machines in an HP-UX Itanium Superdome.  A daily report runs that uses "UNIX95=1 ps -C vt_tl1_am -o vsz,pcpu,stime,comm" to report on memory and cpu usage.&lt;BR /&gt;&lt;BR /&gt;The values reported by "ps" vary greatly from what Glance (gpm gui) reports. Top reports values of memory that are similar to gpm, but a value of CPU similar to ps.&lt;BR /&gt;&lt;BR /&gt;For example, on front end #18:&lt;BR /&gt;Tue Oct 14 22:47:14 dholt@omztfb8:~/&lt;BR /&gt;&lt;BR /&gt;$  UNIX95=1 ps -C "vt_tl1_am" -o vsz,pcpu,stime,comm &lt;BR /&gt;&lt;BR /&gt;    VSZ  %CPU    STIME COMMAND&lt;BR /&gt; 971912 24.45 15:38:56 vt_tl1_am&lt;BR /&gt;&lt;BR /&gt;Glance (from the gpm gui):&lt;BR /&gt;&lt;BR /&gt;vt_tl1_am  Res Mem = 1.07gb,  Virtual Memory = 3.14gb, CPU % = 1.4&lt;BR /&gt;&lt;BR /&gt;These numbers are completely different!!!&lt;BR /&gt;&lt;BR /&gt;What’s going on?  Which one is correct?  How do I get ps and gpm to agree?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Dale Holt&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 17:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287724#M672573</guid>
      <dc:creator>Dale Holt</dc:creator>
      <dc:date>2008-10-15T17:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287725#M672574</link>
      <description>Hi Dale:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; How do I get ps and gpm to agree?&lt;BR /&gt;&lt;BR /&gt;You don't and you won't.&lt;BR /&gt;&lt;BR /&gt;Glance is kernel savy.  The 'ps' output doesn't atake into account shared memory or shared libraries whereas 'glance' counts these along with the stack, data and text size.&lt;BR /&gt;&lt;BR /&gt;Moreover, the units reported by 'ps' are memory page size units.  Glance reports in 1KB units.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 15 Oct 2008 17:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287725#M672574</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-10-15T17:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287726#M672575</link>
      <description>Thanks! That's very interesting.  What about CPU?  Does the vt_tl1_am use 1/4 of the machine per ps and top, or hardly any per glance?</description>
      <pubDate>Wed, 15 Oct 2008 17:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287726#M672575</guid>
      <dc:creator>Dale Holt</dc:creator>
      <dc:date>2008-10-15T17:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287727#M672576</link>
      <description>However, the man page for ps states that for "vsz" the size is in kilobytes (1024 byte units) of the core image of the process, not pages.  Curiously, the "sz" output is stated to be in pages, including text, data, and stack space.&lt;BR /&gt;&lt;BR /&gt;Dale&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 18:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287727#M672576</guid>
      <dc:creator>Dale Holt</dc:creator>
      <dc:date>2008-10-15T18:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287728#M672577</link>
      <description>Hi Dale:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; However, the man page for ps states that for "vsz" the size is in kilobytes...the "sz" output is stated to be in pages...&lt;BR /&gt;&lt;BR /&gt;Yes, you are correct.  Sorry for my inversion.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 15 Oct 2008 18:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287728#M672577</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-10-15T18:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287729#M672578</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;Is there something similar for percentage of CPU usage? Top and ps show 24.45% but Glance shows only 1.4%.&lt;BR /&gt;Thanks,&lt;BR /&gt;Dale Holt&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2008 13:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287729#M672578</guid>
      <dc:creator>Dale Holt</dc:creator>
      <dc:date>2008-10-17T13:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287730#M672579</link>
      <description>&amp;gt;Is there something similar for percentage of CPU usage?&lt;BR /&gt;&lt;BR /&gt;For top, it is the percentage of one CPU.  Perhaps for glance is a percentage of all CPUs?</description>
      <pubDate>Sat, 18 Oct 2008 10:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287730#M672579</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-18T10:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287731#M672580</link>
      <description>Yes, glance does take into account all CPUs.  However, the total CPU percentage that glance reports is &amp;lt;# of CPUs&amp;gt; x 100.  So if you have 8 CPUs in your system then you have a possiblity of 800% utilization.&lt;BR /&gt;&lt;BR /&gt;Attached is a screen shot of the character mode Glance from on of my servers with 6 CPUs.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Oct 2008 13:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287731#M672580</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-10-18T13:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287732#M672581</link>
      <description>Perhaps my statement was confusing.  The percentage in top adds up to N * 100%.  From what Patrick says about glance, we can't explain the difference in: 24.45% but Glance shows only 1.4%.&lt;BR /&gt;Perhaps these values were for different time periods?  Or one was averaged differently?</description>
      <pubDate>Sun, 19 Oct 2008 00:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287732#M672581</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-19T00:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287733#M672582</link>
      <description>&lt;!--!*#--&gt;To clear things up, GlancePlus is updating every 15 seconds, top is updating every 5 seconds, and I was entering the ps command about every two seconds.&lt;BR /&gt;&lt;BR /&gt;Also, this is for a single CPU system.  I haven't even tackled the multiple cpu systems yet.&lt;BR /&gt;&lt;BR /&gt;It is odd that "top" reports 87.0% IDLE while the top five processes are using:&lt;BR /&gt;vt_tl1_am    18.11%&lt;BR /&gt;memory_ia64  17.01%&lt;BR /&gt;mcc_notif     5.46%&lt;BR /&gt;cmi_ses       1.12%&lt;BR /&gt;vxfsd         0.60%&lt;BR /&gt;            -------&lt;BR /&gt;             42.52%&lt;BR /&gt;And "ps" reports the name of the second highest cpu user as "&lt;DEFUNCT&gt;".&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Dale&lt;BR /&gt;&lt;/DEFUNCT&gt;</description>
      <pubDate>Mon, 20 Oct 2008 22:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287733#M672582</guid>
      <dc:creator>Dale Holt</dc:creator>
      <dc:date>2008-10-20T22:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Glance vs ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287734#M672583</link>
      <description>&amp;gt;It is odd that "top" reports 87.0% IDLE while the top five processes are using:  42.52%&lt;BR /&gt;&lt;BR /&gt;I wasn't aware that top was that bad.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;And "ps" reports the name of the second highest CPU user as "&lt;DEFUNCT&gt;".&lt;BR /&gt;&lt;BR /&gt;ps(1) is broken.  zombie process take no CPU time.  (Unless it just died and ps(1) is still averaging it.)&lt;/DEFUNCT&gt;</description>
      <pubDate>Tue, 21 Oct 2008 05:54:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-vs-ps/m-p/4287734#M672583</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-21T05:54:54Z</dc:date>
    </item>
  </channel>
</rss>

