<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761227#M72508</link>
    <description>But guys, isn't there a way I can put this in the parm file for glance and so al they would see is the memory information. Any ideas or suggestions.</description>
    <pubDate>Wed, 10 Jul 2002 16:26:26 GMT</pubDate>
    <dc:creator>Ragni Singh</dc:creator>
    <dc:date>2002-07-10T16:26:26Z</dc:date>
    <item>
      <title>glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761223#M72504</link>
      <description>Hey guys, is it possible to create a monitor througg glance that will show only if there is a memory leak. Any thought or help will be greatly appreciated.</description>
      <pubDate>Wed, 10 Jul 2002 16:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761223#M72504</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2002-07-10T16:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761224#M72505</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You could monitor the "growth" with:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "user,vsz,pid,ppid,args" | awk 'NR&amp;gt;1' | sort -rnk2&lt;BR /&gt;&lt;BR /&gt;Note the blank (space) character after the equal sign and before the 'ps' command.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 16:15:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761224#M72505</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-10T16:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761225#M72506</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | more &lt;BR /&gt;&lt;BR /&gt;This sorts all programs in descending amount of RAM. Just repeat regularly and see what grows. &lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Wed, 10 Jul 2002 16:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761225#M72506</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-07-10T16:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761226#M72507</link>
      <description>JRF's method is the best way to do it without having to use glance. I would go for that, but if you want to know how you can get the same info in glance ... &lt;BR /&gt;# glance -R&lt;BR /&gt;==&amp;gt; That brings you to "Process Resources"&lt;BR /&gt;==&amp;gt; Enter the PID of the process you want to monitor at the bottom of the screen and hit RETURN.&lt;BR /&gt;==&amp;gt; Take a look at "Total RSS/VSS"&lt;BR /&gt;==&amp;gt; This value shows the virtual stack size for this process (the requested memory for this process). If it increases more and more over time it could mean there is a memory leak.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 16:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761226#M72507</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-07-10T16:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761227#M72508</link>
      <description>But guys, isn't there a way I can put this in the parm file for glance and so al they would see is the memory information. Any ideas or suggestions.</description>
      <pubDate>Wed, 10 Jul 2002 16:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761227#M72508</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2002-07-10T16:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761228#M72509</link>
      <description>It sounds like you are looking at running glance in adviser mode ? Take a look if you have this adviser-syntax file for memory leak.&lt;BR /&gt;&lt;BR /&gt;/opt/perf/examples/adviser/proc_mem_leak&lt;BR /&gt;&lt;BR /&gt;The chance is it should exist. If it does, all you need to do is run it like so .. (capture the output every 5 minutes)&lt;BR /&gt;&lt;BR /&gt;# cd /opt/perf/examples/adviser&lt;BR /&gt;# glance -adviser_only -syntax proc_mem_leak -j300 | tee /tmp/memleak.output&lt;BR /&gt;&lt;BR /&gt;I personally have not try this before.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 17:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761228#M72509</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-07-10T17:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761229#M72510</link>
      <description>Sanman,&lt;BR /&gt;&lt;BR /&gt;My suggestions in the order of importance are as follows:&lt;BR /&gt;&lt;BR /&gt;1.  Monitor global metrics, such as GBL_MEM_UTIL from your Measureware logs (via PerfView or 'extract").  If you notice a gradual increase over time, you can then drill down to application and process metrics (see below).  You can also set Measureware alarms by editing /var/opt/perf/alarmdef.  (Remember to run 'mwa restart alarm').  For further details, see /opt/perf/paperdocs/mwa/C/mwausers.pdf.  A couple of examples on 'alarmdef' are given under /opt/perf/examples/mwaconfig/&lt;BR /&gt;&lt;BR /&gt;2.  If you are interested in a particular process, or a group of processes, you can define "applications" in your parm file.  See /opt/perf/examples/mwaconfig/parm_apps for some examples.&lt;BR /&gt;(Remember to run 'mwa restart scope')&lt;BR /&gt;&lt;BR /&gt;You can then view the collected application metrics, including memory utilization, via PerfView or 'extract'.  &lt;BR /&gt;You can also use Measureware application metrics in your alarmdef.&lt;BR /&gt;&lt;BR /&gt;NOTE: Measureware will collect application metrics in each interval, but the process metrics are collected only for "interesting processes" in any given interval.&lt;BR /&gt;So, unless you "wrap" your process in an application, you may not be able to get what you want out of Measureware logs.&lt;BR /&gt;&lt;BR /&gt;3.  If you want to use Glance to monitor memory utilization at a process level, the parm file won't help (the parm file is used for configuring Measureware collection process only).  However, you can run Glance in "adviser only" mode to log "anything you want".  For example, try this:&lt;BR /&gt;&lt;BR /&gt;glance -adviser_only -syntax /opt/perf/examples/proc_mem_leak -j 60&lt;BR /&gt;&lt;BR /&gt;NOTE: The file /opt/perf/examples/proc_mem_leak should exist on your system if you have a recent version of Glance.&lt;BR /&gt;&lt;BR /&gt;For more information on "adviser syntax" check this document:&lt;BR /&gt;/opt/perf/paperdocs/gp/C/adviser.pdf&lt;BR /&gt;&lt;BR /&gt;Do 'man glance' to check other command line options.&lt;BR /&gt;&lt;BR /&gt;NOTE: If you want to go a step further, you can also integrate your "glance adviser_only output" with your Measureware logs.  See /opt/perf/paperdocs/mwa/C/mwadsi.pdf&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Mladen&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 17:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance/m-p/2761229#M72510</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2002-07-10T17:33:40Z</dc:date>
    </item>
  </channel>
</rss>

