<?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: Need help with Glance Scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523515#M889459</link>
    <description>Thanks for the pointers both ways work well.  BUT...  I'm pulling 3 different metrics, if I run it for 2 interations I get 434 lines of data in 3 columns.  Where does 434 come from?  I'm trying to strike an average for each metric but I?m not sure if I should add them up then divide by 434 or if there is something weird with that set of numbers.  Any help would be appreciated.  Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 03 May 2001 20:25:54 GMT</pubDate>
    <dc:creator>Dave Jadischke</dc:creator>
    <dc:date>2001-05-03T20:25:54Z</dc:date>
    <item>
      <title>Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523512#M889456</link>
      <description>I need help stopping this glance command:&lt;BR /&gt;&lt;BR /&gt;glance -advisor_only -syntax gpm_advisor -j2 &amp;gt;&amp;gt; glance.out&lt;BR /&gt;&lt;BR /&gt;it works great but I need it to stop its self after 20 or so cycles, any suggestions?</description>
      <pubDate>Tue, 01 May 2001 22:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523512#M889456</guid>
      <dc:creator>Dave Jadischke</dc:creator>
      <dc:date>2001-05-01T22:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523513#M889457</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;glance -advisor_only -syntax gpm_advisor -j2 &amp;gt;&amp;gt; glance.out &amp;amp;&lt;BR /&gt;sleep 40&lt;BR /&gt;kill %%&lt;BR /&gt;&lt;BR /&gt;NOTE: if you run this from a script, you will likely get error messages - like "GlancePlus Non-Fatal Error" and "Unable to perform functions on devices" - but HP says this is ok.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Mladen</description>
      <pubDate>Tue, 01 May 2001 23:54:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523513#M889457</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-05-01T23:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523514#M889458</link>
      <description>Hi Dave,&lt;BR /&gt;try this&lt;BR /&gt;glance -advisor_only -syntax gpm_advisor &lt;BR /&gt;-j2 -iterations 20&amp;gt;&amp;gt; glance.out &lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Juan Gonzalez&lt;BR /&gt;</description>
      <pubDate>Wed, 02 May 2001 15:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523514#M889458</guid>
      <dc:creator>Juan González</dc:creator>
      <dc:date>2001-05-02T15:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523515#M889459</link>
      <description>Thanks for the pointers both ways work well.  BUT...  I'm pulling 3 different metrics, if I run it for 2 interations I get 434 lines of data in 3 columns.  Where does 434 come from?  I'm trying to strike an average for each metric but I?m not sure if I should add them up then divide by 434 or if there is something weird with that set of numbers.  Any help would be appreciated.  Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 May 2001 20:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523515#M889459</guid>
      <dc:creator>Dave Jadischke</dc:creator>
      <dc:date>2001-05-03T20:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523516#M889460</link>
      <description>Hi,&lt;BR /&gt;are you using a LOOP &lt;SOMETHING&gt; command? If you do this you get the metrics for all &lt;SOMETHING&gt;. If you attach your script I will be more specific?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/SOMETHING&gt;&lt;/SOMETHING&gt;</description>
      <pubDate>Fri, 04 May 2001 10:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523516#M889460</guid>
      <dc:creator>Juan González</dc:creator>
      <dc:date>2001-05-04T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523517#M889461</link>
      <description>Yes, I am using a loop in the syntax file.  Here is my glance command followed by the syntax file (gpm_adviser).  I'm not sure what to use in place of PROCESS LOOP, is this why i'm getting so much data?  &lt;BR /&gt;&lt;BR /&gt;glance -adviser_only -syntax gpm_adviser -j 5 -iterations 2 &amp;gt; glance.out&lt;BR /&gt;&lt;BR /&gt;gpm_adviser:&lt;BR /&gt;&lt;BR /&gt;PROCESS LOOP  PRINT proc_cpu_total_util, proc_mem_res, proc_io_byte_rate&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 04 May 2001 18:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523517#M889461</guid>
      <dc:creator>Dave Jadischke</dc:creator>
      <dc:date>2001-05-04T18:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523518#M889462</link>
      <description>Here is the output file.</description>
      <pubDate>Fri, 04 May 2001 19:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523518#M889462</guid>
      <dc:creator>Dave Jadischke</dc:creator>
      <dc:date>2001-05-04T19:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523519#M889463</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Because you are using "process loop", glance will loop through all current processes on your system and output the metrics that you specify for each individual process.  That would be one "iteration."  You probably had 217 processes running on your system when glance was executed  (217+217=434 lines of output after 2 iterations)&lt;BR /&gt;&lt;BR /&gt;What are you trying to accomplish?  &lt;BR /&gt;Can you just use metrics like GBL_CPU_TOTAL_UTIL and GBL_MEM_UTIL ?</description>
      <pubDate>Mon, 07 May 2001 18:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523519#M889463</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-05-07T18:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523520#M889464</link>
      <description>What can I use instead of PROCESS LOOP?</description>
      <pubDate>Tue, 08 May 2001 20:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523520#M889464</guid>
      <dc:creator>Dave Jadischke</dc:creator>
      <dc:date>2001-05-08T20:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Glance Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523521#M889465</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;What do you want your script to do?&lt;BR /&gt;&lt;BR /&gt;If your goal is simple, e.g., display total cpu utilization on your system every minute, you will probably find GBL_xxx_xxx metrics sufficient.  But if, for example, you would like to log cpu utilization by top two processes every 30 seconds, then you can modify your process loop to display just what you want.&lt;BR /&gt;&lt;BR /&gt;Mladen</description>
      <pubDate>Wed, 09 May 2001 02:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-glance-scripting/m-p/2523521#M889465</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-05-09T02:43:32Z</dc:date>
    </item>
  </channel>
</rss>

