<?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 output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740533#M67566</link>
    <description>Since you are writing to the same file over and over (/tmp/glance.out). Is it possible the permissions/owner on the file are different than what the "cron" launched job is defined with?&lt;BR /&gt;&lt;BR /&gt;my 2 cents&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
    <pubDate>Mon, 10 Jun 2002 15:15:06 GMT</pubDate>
    <dc:creator>Rodney Hills</dc:creator>
    <dc:date>2002-06-10T15:15:06Z</dc:date>
    <item>
      <title>Glance output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740528#M67561</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Whenever I am trying to execute following command line from any shell script then I am getting desired output. But when I am trying to execute the same script from remote shell or cron then I am not getting output.&lt;BR /&gt;&lt;BR /&gt;Command line is.&lt;BR /&gt;/opt/perf/bin/glance -j 1 -iterations 2 -i -f /tmp/glance.out &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Do glannce need any shell during execution ?&lt;BR /&gt;&lt;BR /&gt;Through glance we can measure utilization. Like it showw Mem usage is 60%. But if I want to get same output without glance then how I can get it ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Jun 2002 00:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740528#M67561</guid>
      <dc:creator>Smirjit Singh</dc:creator>
      <dc:date>2002-06-09T00:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Glance output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740529#M67562</link>
      <description>If you want to run glance using cron, the variable TERM must be exported because cron does not set that for you. Try to put your glance statement in a script file like so ..&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;export TERM=hp&lt;BR /&gt;/opt/perf/bin/glance -j 1 -iterations 2 -i -f /tmp/glance.out &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Then run that script file in your cron. That should work for you. The other tool you can use to find out your memory usage is "vmstat". For example ..&lt;BR /&gt;&lt;BR /&gt;# vmstat -n 1 1&lt;BR /&gt;==&amp;gt; Look for "avm" and "free" column. It reports in 4kb page size. The approximate free memory would be the value in "free" multiply by 4 gives the result in KBytes. Do a "man vmstat" for details. Using ..&lt;BR /&gt;&lt;BR /&gt;# glance -m&lt;BR /&gt;gives you a better breakdown of memory utilization.&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Jun 2002 06:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740529#M67562</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-06-09T06:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Glance output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740530#M67563</link>
      <description>Hi Chan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;But TERM=hp did not help to resolve the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Sandip&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2002 14:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740530#M67563</guid>
      <dc:creator>Smirjit Singh</dc:creator>
      <dc:date>2002-06-10T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Glance output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740531#M67564</link>
      <description>Hi Chan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;But TERM=hp did not help to resolve the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Smirjit</description>
      <pubDate>Mon, 10 Jun 2002 14:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740531#M67564</guid>
      <dc:creator>Smirjit Singh</dc:creator>
      <dc:date>2002-06-10T14:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Glance output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740532#M67565</link>
      <description>You are redirecting standard error to /dev/null, so you have no idea what kind of error is occurring. Stop the redirection and run the job in cron again. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Mon, 10 Jun 2002 15:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740532#M67565</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-10T15:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Glance output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740533#M67566</link>
      <description>Since you are writing to the same file over and over (/tmp/glance.out). Is it possible the permissions/owner on the file are different than what the "cron" launched job is defined with?&lt;BR /&gt;&lt;BR /&gt;my 2 cents&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 10 Jun 2002 15:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/glance-output/m-p/2740533#M67566</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-10T15:15:06Z</dc:date>
    </item>
  </channel>
</rss>

