Check active sessions details in Oracle
Hello friends, in this article we are going to discuss how to find the details of the currently active user session with details in the Oracle Database. To check active sessions in Oracle use the below query.
Find Active session
To check active user connection details in Oracle, we need to connect with the sys user and run the below query using v$session view.
SQL>select sid,serial#,username,osuser,machine,program,module from v$session where status='ACTIVE'
sid – Session identifier
serial# – Session serial number
username – Database user name
osuser – Operating system client user name
machine – Operating system machine name
program – Operating system program name
module – Name of the currently executing module as set by calling the DBMS_APPLICATION_INFO.SET_MODULE procedure
Connect with me on: