REM REM DBAToolZ NOTE: REM This script was obtained from DBAToolZ.com REM It's configured to work with SQL Directory (SQLDIR). REM SQLDIR is a utility that allows easy organization and REM execution of SQL*Plus scripts using user-friendly menu. REM Visit DBAToolZ.com for more details and free SQL scripts. REM REM REM File: REM s_user_wait.sql REM REM USER TRACE REM REM Author: REM Vitaliy Mogilevskiy REM VMOGILEV REM (vit100gain@earthlink.net) REM REM Purpose: REM REM Prints time waited per event for a specific SID REM REM REM Usage: REM s_user_wait.sql SID REM REM Example: REM s_user_wait.sql 10 REM REM REM History: REM 08-01-1998 VMOGILEV Created REM REM select to_char(time_waited/100/60,'9999999.99') time_waited , v$session_event.* from v$session_event where sid=&&sid order by total_Waits /