Oracle:getUserSession
Gets information about current user sessions.
Type
SYNC, IMPACT_INFO
Arguments
None.
Returns
Name |
Type |
Description |
SID |
Integer |
The database session identifier. Table is indexed on the SID. |
Username |
String |
The name of the user. |
Command |
Integer |
The code number of the command currently being executed. A value of |
Status |
String |
The status of the session. Possible values are ACTIVE, INACTIVE, or KILLED. |
Process ID |
Integer |
The operating system process identifier (PID). |
Program |
String |
The operating system program name. |
Usage Notes
This method provides basic information about current database sessions. Invoke this method only when needed.