<?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: How to know how much work done for a session in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-much-work-done-for-a-session/m-p/3349916#M869999</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;To monitor the progress of backups, copies, and restores, you can query the view V$SESSION_LONGOPS.&lt;BR /&gt;&lt;BR /&gt;The query should work fine.&lt;BR /&gt;&lt;BR /&gt;To determine which events are being waited for, you can query V$SESSION_WAIT.&lt;BR /&gt;e.g.&lt;BR /&gt;SELECT sid, seconds_in_wait AS sec_wait, event FROM v$session_wait&lt;BR /&gt;WHERE wait_time = 0&lt;BR /&gt;ORDER BY sid;&lt;BR /&gt;&lt;BR /&gt;If you want to tune performance, see: &lt;A href="http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76992/toc.htm" target="_blank"&gt;http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76992/toc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj&lt;BR /&gt;</description>
    <pubDate>Thu, 05 Aug 2004 00:31:51 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2004-08-05T00:31:51Z</dc:date>
    <item>
      <title>How to know how much work done for a session</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-much-work-done-for-a-session/m-p/3349915#M869998</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I got the below script from Metalink to know about How much work done for a RMAN session. &lt;BR /&gt;Likewise can we find out for each session of other jobs. Because users are oftently asking  like how much ( presentage %) work done and &lt;BR /&gt;how long estimated time .. &lt;BR /&gt;&lt;BR /&gt;How to answer them !! can we use the below SQL &lt;BR /&gt;formula for any job ? Please reply me. &lt;BR /&gt;&lt;BR /&gt;----------------------------------- &lt;BR /&gt;To calculate the progress of an RMAN job, run the following query in SQL*Plus while the RMAN job is executing: &lt;BR /&gt;&lt;BR /&gt;SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK, &lt;BR /&gt;ROUND(SOFAR/TOTALWORK*100,2) "% COMPLETE" &lt;BR /&gt;FROM V$SESSION_LONGOPS &lt;BR /&gt;WHERE OPNAME LIKE 'RMAN%' &lt;BR /&gt;AND OPNAME NOT LIKE '%aggregate%' &lt;BR /&gt;AND TOTALWORK != 0 &lt;BR /&gt;AND SOFAR &amp;lt;&amp;gt; TOTALWORK; &lt;BR /&gt;----------------------------------- &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Ezhil &lt;BR /&gt;</description>
      <pubDate>Wed, 04 Aug 2004 21:35:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-much-work-done-for-a-session/m-p/3349915#M869998</guid>
      <dc:creator>ezhilarasan_1</dc:creator>
      <dc:date>2004-08-04T21:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to know how much work done for a session</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-much-work-done-for-a-session/m-p/3349916#M869999</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;To monitor the progress of backups, copies, and restores, you can query the view V$SESSION_LONGOPS.&lt;BR /&gt;&lt;BR /&gt;The query should work fine.&lt;BR /&gt;&lt;BR /&gt;To determine which events are being waited for, you can query V$SESSION_WAIT.&lt;BR /&gt;e.g.&lt;BR /&gt;SELECT sid, seconds_in_wait AS sec_wait, event FROM v$session_wait&lt;BR /&gt;WHERE wait_time = 0&lt;BR /&gt;ORDER BY sid;&lt;BR /&gt;&lt;BR /&gt;If you want to tune performance, see: &lt;A href="http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76992/toc.htm" target="_blank"&gt;http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76992/toc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Aug 2004 00:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-much-work-done-for-a-session/m-p/3349916#M869999</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-08-05T00:31:51Z</dc:date>
    </item>
  </channel>
</rss>

