Sample SQL Script to Show current Users and SQL being Executed
(Doc ID 232815.1)
Last updated on NOVEMBER 22, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 8.0.3.0 to 9.0.1.0 [Release 8.0.3 to 9.0.1]Oracle Database - Personal Edition
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.
Purpose
Purpose
=======
Sample SQL script to show the following information.
1) Who is currently logged on.
2) If they are active, what SQL they are currently executing.
3) How long they have been executing it. (last_call_et)
Scope
Scope & Application
===================
DBA's and others who need to determine current users on a database along with
the SQL (if active) that they are executing.
Details
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |