<?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: Extract command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123366#M448196</link>
    <description>Hello Rasheed,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;I need to create a graphical report from that sar disk utilization data. Any idea how to go forward or just create a Statiscal report to show it to end customer.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Wed, 06 Aug 2008 07:26:22 GMT</pubDate>
    <dc:creator>zsujith</dc:creator>
    <dc:date>2008-08-06T07:26:22Z</dc:date>
    <item>
      <title>Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123362#M448192</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We have sar data run through cron in /usr/adm/sa directory. Now we need to create report of disk utilization using extract command. &lt;BR /&gt;Please let us know what option to use with extract command to generate disk utilization report etc.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 06 Aug 2008 04:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123362#M448192</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-08-06T04:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123363#M448193</link>
      <description>Hello,&lt;BR /&gt;you will have to use&lt;BR /&gt;erxtract -b &lt;BEGINNING&gt; -e &lt;ENDTIME&gt; -xt -l &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;Read man extract for more info.&lt;BR /&gt;------------&lt;BR /&gt;extract  -xt   [d|w|m|y -offset] [-v][-gapkdzcntuy]&lt;BR /&gt;                     [-l &lt;LOGFILE&gt;] [-f &lt;OUTPUTFILENAME&gt;]&lt;BR /&gt;                     [-b &lt;DATE&gt; &lt;TIME&gt;] [-e &lt;DATE&gt; &lt;TIME&gt;]&lt;BR /&gt;                     [-s &lt;TIME1&gt; - &lt;TIME2&gt; noweekends]&lt;BR /&gt;------------&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+&lt;/TIME2&gt;&lt;/TIME1&gt;&lt;/TIME&gt;&lt;/DATE&gt;&lt;/TIME&gt;&lt;/DATE&gt;&lt;/OUTPUTFILENAME&gt;&lt;/LOGFILE&gt;&lt;/FILE&gt;&lt;/ENDTIME&gt;&lt;/BEGINNING&gt;</description>
      <pubDate>Wed, 06 Aug 2008 04:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123363#M448193</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2008-08-06T04:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123364#M448194</link>
      <description>Dear Kapil,&lt;BR /&gt;&lt;BR /&gt;Do i need to provide beginning and end date as i already have the sar data.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 06 Aug 2008 05:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123364#M448194</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-08-06T05:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123365#M448195</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;extract reads the contents of OV  Performance Agent  (OVPA) scopeux log files. You can use the sar command as below to get the disk (or tape) output:&lt;BR /&gt;&lt;BR /&gt;sar -d -f /var/adm/sa/sa06&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;just grep for Average&lt;BR /&gt;&lt;BR /&gt;sar -d -f /var/adm/sa/sa06|grep Average&lt;BR /&gt;&lt;BR /&gt;-f is the filename &lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 06 Aug 2008 05:57:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123365#M448195</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-08-06T05:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123366#M448196</link>
      <description>Hello Rasheed,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;I need to create a graphical report from that sar disk utilization data. Any idea how to go forward or just create a Statiscal report to show it to end customer.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 06 Aug 2008 07:26:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123366#M448196</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-08-06T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123367#M448197</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;the extract command is part of the measureware product not sar.  Measurware now called the performance agent collects data separately from sar &lt;BR /&gt;&lt;BR /&gt;extract -xp -d -f /tmp/rxlog_disks.txt&lt;BR /&gt;&lt;BR /&gt;This is how you would extract disk data.  Extract has many other clases of data: Global, process, application (group of processes you define), disk, logical volumen, netif, cpu and configuration.&lt;BR /&gt;&lt;BR /&gt;look into it.  Measureware is collecting over 400 metrics constantly and is on most of the HPUX systems given the way people purchase their OE bundle.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Aug 2008 13:14:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123367#M448197</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2008-08-06T13:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123368#M448198</link>
      <description>Hello Sujith,&lt;BR /&gt;&lt;BR /&gt;You have to export to excel (csv) format and do the reporting from there.&lt;BR /&gt;&lt;BR /&gt;Otherwise, if scopeux is on the system, you can use the extract command and send to output file, move to PC, and use excel.&lt;BR /&gt;&lt;BR /&gt;This is the template (you can modify the items as per your needs) file for extract:&lt;BR /&gt;&lt;BR /&gt;cat /home/sujith/disktemplate &lt;BR /&gt;REPORT "MWA Export on !SYSTEM_ID" &lt;BR /&gt;FORMAT ASCII &lt;BR /&gt;HEADINGS ON &lt;BR /&gt;SEPARATOR="|" &lt;BR /&gt;SUMMARY=60 &lt;BR /&gt;MISSING=0 &lt;BR /&gt;DATA TYPE GLOBAL &lt;BR /&gt;YEAR &lt;BR /&gt;DATE &lt;BR /&gt;TIME &lt;BR /&gt;GBL_DISK_UTIL_PEAK &lt;BR /&gt;GBL_DISK_SUBSYSTEM_QUEUE &lt;BR /&gt;&lt;BR /&gt;use the below command to extract today's data using the above template file and output to a file called extractfile&lt;BR /&gt;&lt;BR /&gt;/opt/perf/bin/extract -xp -r /home/sujith/disktemplate -g -b today 00:00 -e today 16:59 -f extractfile&lt;BR /&gt;&lt;BR /&gt;(from 05th Aug to 06th Aug below; -d for disk - man extract for details)&lt;BR /&gt;&lt;BR /&gt;/opt/perf/bin/extract -xp -d -g -b 08/05/08 -e 08/06/08 -f extract.out&lt;BR /&gt;&lt;BR /&gt;send the output file as attachment by mail or you can sftp to pc&lt;BR /&gt;&lt;BR /&gt;uuencode extractfile extractfile |mailx -m -s "extract as attach" sujith@domain.com&lt;BR /&gt;&lt;BR /&gt;and put it to excel.&lt;BR /&gt;&lt;BR /&gt;May be someone would come with a better idea.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 06 Aug 2008 13:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123368#M448198</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-08-06T13:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extract command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123369#M448199</link>
      <description>Thank U</description>
      <pubDate>Tue, 26 Aug 2008 06:44:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-command/m-p/5123369#M448199</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-08-26T06:44:07Z</dc:date>
    </item>
  </channel>
</rss>

