longo

scripts>longo

set echo off
set feedback off
set timing off
–set termout off
set trimspool on
set verify off

Ttitle ‘ [ Long running operations ]’ skip 2
SELECT SID, SERIAL#, opname ||’ ‘|| target, SOFAR, TOTALWORK,
ROUND(SOFAR/TOTALWORK*100,2) “COMPLETE%”, ELAPSED_SECONDS “EMPEZO(sec)”,
TIME_REMAINING “ESTIMACION (sec)”
FROM V$SESSION_LONGOPS
WHERE
TOTALWORK != 0
AND SOFAR != TOTALWORK
order by 1;

set feedback on
set timing on
–set termout off
set trimspool off
set verify on
TTITLE OFF
set echo on

 

 

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s