Script to get the list of sessions for a user currently in the Database
Script to get the list of sessions for a user currently in the Database
select
sid,serial#,username,status,module,command,
to_char(logon_time,'dd-mm-yy hh:mi:ss') "LOGON", program,last_call_et
from
v$session
where
username like '%&usr%'
order by logon_time;
Changes the usr as per your requirement.
Comments
Post a Comment