<?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 Script? Track Glance - Process for Oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645489#M879310</link>
    <description>Hi Laurie,&lt;BR /&gt;&lt;BR /&gt;You need to configure the applications in Measureware to collect the data.&lt;BR /&gt;&lt;BR /&gt;It's easy.&lt;BR /&gt;&lt;BR /&gt;Edit /var/opt/perf/parm file and add the entries as illustrated by other examples in the file. You will be grouping the users and the processes together as applications. For ex., to collect the data for "oracle users" you would keep the following configuration.&lt;BR /&gt;&lt;BR /&gt;application=Oracle Users&lt;BR /&gt;file=oracle(instance)&lt;BR /&gt;&lt;BR /&gt;applicaton=oracle background&lt;BR /&gt;file=ora_*&lt;BR /&gt;&lt;BR /&gt;Restart the measureware by mwa stop and mwa start.&lt;BR /&gt;&lt;BR /&gt;Let the database be collected for a couple of days. &lt;BR /&gt;&lt;BR /&gt;Then you can extract the stats anytime using the extract command. For all the available metrics look at /var/opt/perf/reptall file.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Jan 2002 20:00:26 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2002-01-15T20:00:26Z</dc:date>
    <item>
      <title>Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645486#M879307</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;My boss would like a way for me to capture&lt;BR /&gt;some statistic's using Glance.  He wants&lt;BR /&gt;to see what Oracle PID's are hogging the&lt;BR /&gt;time and then our DBA and research it from&lt;BR /&gt;an Oracle side.&lt;BR /&gt;&lt;BR /&gt;We have glance and top and I do not know how&lt;BR /&gt;to use measureware. And right now I don't&lt;BR /&gt;want to learn.  &lt;BR /&gt;&lt;BR /&gt;I need to run this script randomly over&lt;BR /&gt;a day or two, and especially during our&lt;BR /&gt;busy time 3-5pm.&lt;BR /&gt;&lt;BR /&gt;I understand I can put this in cron if I &lt;BR /&gt;get a script.  Now if there is a way for&lt;BR /&gt;me to use measureware and understand it&lt;BR /&gt;fast and easily I am open.  &lt;BR /&gt;&lt;BR /&gt;I just have some bad memories of me trying ot&lt;BR /&gt;learn measureware from manuals.&lt;BR /&gt;&lt;BR /&gt;I think we have measureware on this server:&lt;BR /&gt;&lt;BR /&gt;B3693AA               C.03.25.00     HP GlancePlus/UX for s800 11i &lt;BR /&gt;  B3701AA               C.03.25.00     HP GlancePlus/UX Pak for s800 11i &lt;BR /&gt;&lt;BR /&gt;Any clues on how to do this without me just&lt;BR /&gt;doing random print screens? &lt;BR /&gt;&lt;BR /&gt;Laurie</description>
      <pubDate>Tue, 15 Jan 2002 17:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645486#M879307</guid>
      <dc:creator>Laurie A. Krumrey</dc:creator>
      <dc:date>2002-01-15T17:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645487#M879308</link>
      <description>Hi Laurie:&lt;BR /&gt;&lt;BR /&gt;OK, one thing you can do is run 'glance' in its "adviser_only" mode.&lt;BR /&gt;&lt;BR /&gt;The '-adviser_only' option  allows glance to  run without displays to the terminal.  the adivser output can be redirected from stdout to a file to capture key events.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 15 Jan 2002 18:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645487#M879308</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-15T18:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645488#M879309</link>
      <description>You could call a glance script from cron. The following format is simple and puts some data to a flat file. You can grep stuff out as you need. You'll probably have to tweek it to meet your needs.&lt;BR /&gt;&lt;BR /&gt;/opt/perf/bin/glance -t -iterations 2 -f /tmp/glance.out&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Tue, 15 Jan 2002 18:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645488#M879309</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-01-15T18:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645489#M879310</link>
      <description>Hi Laurie,&lt;BR /&gt;&lt;BR /&gt;You need to configure the applications in Measureware to collect the data.&lt;BR /&gt;&lt;BR /&gt;It's easy.&lt;BR /&gt;&lt;BR /&gt;Edit /var/opt/perf/parm file and add the entries as illustrated by other examples in the file. You will be grouping the users and the processes together as applications. For ex., to collect the data for "oracle users" you would keep the following configuration.&lt;BR /&gt;&lt;BR /&gt;application=Oracle Users&lt;BR /&gt;file=oracle(instance)&lt;BR /&gt;&lt;BR /&gt;applicaton=oracle background&lt;BR /&gt;file=ora_*&lt;BR /&gt;&lt;BR /&gt;Restart the measureware by mwa stop and mwa start.&lt;BR /&gt;&lt;BR /&gt;Let the database be collected for a couple of days. &lt;BR /&gt;&lt;BR /&gt;Then you can extract the stats anytime using the extract command. For all the available metrics look at /var/opt/perf/reptall file.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 20:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645489#M879310</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-15T20:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645490#M879311</link>
      <description>OK I need a little more help to use Measureware.&lt;BR /&gt;&lt;BR /&gt;I edited the two files and now how do I excute&lt;BR /&gt;the report stuff?&lt;BR /&gt;&lt;BR /&gt;Measureware is running but I'm not sure&lt;BR /&gt;if the reporting stuff is working.&lt;BR /&gt;&lt;BR /&gt;What about sar?  Is there  a way to put&lt;BR /&gt;sar in cron to run every hour to report&lt;BR /&gt;on all the process id, user names and give&lt;BR /&gt;% of CPU used...&lt;BR /&gt;&lt;BR /&gt;I'm not so sure screen printing is where it's&lt;BR /&gt;at for upper management..they like cool&lt;BR /&gt;looking reports...&lt;BR /&gt;&lt;BR /&gt;Thank,&lt;BR /&gt;Laurie</description>
      <pubDate>Tue, 15 Jan 2002 22:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645490#M879311</guid>
      <dc:creator>Laurie A. Krumrey</dc:creator>
      <dc:date>2002-01-15T22:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645491#M879312</link>
      <description>Hi,&lt;BR /&gt;Use extract command for report. You can later import this in to spread sheet than produce graph.&lt;BR /&gt;&lt;BR /&gt;Here is the syntex&lt;BR /&gt;run it from /car/opt/perf&lt;BR /&gt;extract -xp -g -l /var/opt/perf/datafiles/logglob -r reptall -b "today -7" -f perf1.txt (output file name)&lt;BR /&gt;&lt;BR /&gt;today -7 will give you the details for last 7 days.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 23:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645491#M879312</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-01-15T23:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645492#M879313</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can also use sar to produce data and then generate report&lt;BR /&gt;&lt;BR /&gt;create this file in /usr/lbin/sa with execute permissions&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/sh&lt;BR /&gt;#       sa1.sh&lt;BR /&gt;&lt;BR /&gt;DATE=`date +%d`&lt;BR /&gt;ENDIR=/usr/lbin/sa&lt;BR /&gt;DFILE=/var/adm/sa/sa$DATE&lt;BR /&gt;cd $ENDIR&lt;BR /&gt;if [ $# = 0 ]&lt;BR /&gt;then&lt;BR /&gt;        exec $ENDIR/sadc 1 1 $DFILE&lt;BR /&gt;else&lt;BR /&gt;        exec $ENDIR/sadc $* $DFILE&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;add this script  in your cron job&lt;BR /&gt;20,40 * * * 1-5 /usr/lbin/sa/sa1&lt;BR /&gt;&lt;BR /&gt;This will generate file in /var/adm/sa&lt;BR /&gt;&lt;BR /&gt;Also have a look at sarcheck.com for a reporting tool&lt;BR /&gt;&lt;BR /&gt;-Goodluck,&lt;BR /&gt;-USA..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 23:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645492#M879313</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-01-15T23:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645493#M879314</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The sadc execute file is here&lt;BR /&gt;Permissions should be like this&lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-x   1 bin        bin          20480 Nov  7  1997 sadc&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 23:20:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645493#M879314</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-01-15T23:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645494#M879315</link>
      <description>Hi Laurie,&lt;BR /&gt;&lt;BR /&gt;You will get cool reports with measure. Try to play around with extract command. Once you configure the Applications as I mentioned earlier, you can get the stats on the Processes of the applications using the extract command.&lt;BR /&gt;&lt;BR /&gt;Using extract, you can get the reports into ascii files that can be exported into Excel to draw nice colorful graphs for the management.&lt;BR /&gt;&lt;BR /&gt;Just a little bit of reading is required on Measure and how to use extract if you have measureware running. &lt;BR /&gt;&lt;BR /&gt;Below is the step by step process&lt;BR /&gt;&lt;BR /&gt;1. Check if measureware is running&lt;BR /&gt;/opt/perf/bin/mwa status&lt;BR /&gt;You should see scope/ux daemon running&lt;BR /&gt;2. Run extract&lt;BR /&gt;/opt/perf/bin/extract&lt;BR /&gt;-&amp;gt;Guide       (enter command:)&lt;BR /&gt;-&amp;gt;Y            (...continue?..)&lt;BR /&gt;-&amp;gt;export      (..function do you want) &lt;BR /&gt;-&amp;gt;&lt;RETURN&gt;     (..../logglob)&lt;BR /&gt;-&amp;gt;Y           (..template file?)&lt;BR /&gt;-&amp;gt;&lt;RETURN&gt;     (...continue)&lt;BR /&gt;-&amp;gt;Y           (... editor now?)&lt;BR /&gt;This will place a file called myrept in the current directory and open a vi session. Edit this file and take out the * before the metrics&lt;BR /&gt;You will get a lot of help in the file itself&lt;BR /&gt;save..&lt;BR /&gt;-&amp;gt;myrept       (file name...)&lt;BR /&gt;-&amp;gt;detail       (..do you want to export)&lt;BR /&gt;-&amp;gt;Y            (...see a date format?)&lt;BR /&gt;-&amp;gt;&lt;STARTING date=""&gt; (..start?)&lt;BR /&gt;format and default will be give above the prompt&lt;BR /&gt;-&amp;gt;&lt;STOPPING date=""&gt; (..stop?)&lt;BR /&gt;format and default will be given above the &lt;BR /&gt;prompt&lt;BR /&gt;-&amp;gt;y         (..export the data now?)&lt;BR /&gt;-&amp;gt;&lt;RETURN&gt;&lt;BR /&gt;-&amp;gt;&lt;RETURN&gt;&lt;BR /&gt;-&amp;gt;q&lt;BR /&gt;&lt;BR /&gt;This will generate a file called xfrd*.asc. copy it to your PC and import into EXCEL. You can draw nice graphs for the metrics that you commented out in myrept file. Look at all the metrics and pick up important ones.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/STOPPING&gt;&lt;/STARTING&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;</description>
      <pubDate>Tue, 15 Jan 2002 23:23:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645494#M879315</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-15T23:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need Script? Track Glance - Process for Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645495#M879316</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Attached is a very simple report file that you &lt;BR /&gt;change if you wish to collect further information.&lt;BR /&gt;In the report file, (called reptest2) I'm only collecting application CPU information. It is very simple.&lt;BR /&gt;&lt;BR /&gt;The following command will extract from the&lt;BR /&gt;mwa database the CPU information if it collected.&lt;BR /&gt;Sridhar has provided the information that you need in your /var/opt/perf/parm file. Of course&lt;BR /&gt;let it collect for a couple of days first&lt;BR /&gt;&lt;BR /&gt;To extract the data and place into a 'wk1' file&lt;BR /&gt;run the following command.&lt;BR /&gt;&lt;BR /&gt;/opt/perf/bin/extract -A -r /var/opt/perf/reptest2 -xm 0201 -xp&lt;BR /&gt;&lt;BR /&gt;okay, you are nor ready to transfer the file&lt;BR /&gt;onto an excel spreadsheet and then into graphs.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2002 01:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-script-track-glance-process-for-oracle/m-p/2645495#M879316</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-01-16T01:01:48Z</dc:date>
    </item>
  </channel>
</rss>

