Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ALTER SYSTEM KILL SESSION '<session id>,<serial #>';
set linesize 200
set echo off
set feedback on
col oruser format a20 heading "Oracle Username"
col osuser format a12 heading "O/S Username"
col ss heading "SID/Ser#" format a12
col time heading "Logon Date/Time" format a20
col computer heading "Computer/Terminal" format a21
col program format a50 heading "Program"
col process format 999999 heading "OS|Process|ID"
select username oruser
,osuser osuser
,machine computer
,''||s.sid||','||s.serial#||'' ss
,status
,process
,to_char(s.logon_time,'yyyy/mm/dd hh24:mi:ss') time
,program
from gv$session s
order by time
/
SQL> @logins
Oracle Username O/S Username Computer/Terminal SID/Ser# STATUS
-------------------- ------------ --------------------- ------------ --------
oracle alpine '1,1' ACTIVE
oracle alpine '2,1' ACTIVE
oracle alpine '3,1' ACTIVE
oracle alpine '4,1' ACTIVE
oracle alpine '5,1' ACTIVE
oracle alpine '6,1' ACTIVE
jdoe oracle PC2556 '210,2939' ACTIVE
jdoe oracle PC2556 '133,4857' ACTIVE
jdoe oracle PC2556 '243,4556' ACTIVE
jdoe oracle PC2556 '199,20087' ACTIVE
OS
Process
ID Logon Date/Time Program
------------ -------------------- --------------------------
2885 2007/11/04 22:22:30 oracle@alpine (PMON)
2887 2007/11/04 22:22:31 oracle@alpine (DBW0)
2889 2007/11/04 22:22:31 oracle@alpine (LGWR)
2891 2007/11/04 22:22:31 oracle@alpine (CKPT)
2893 2007/11/04 22:22:31 oracle@alpine (SMON)
2895 2007/11/04 22:22:31 oracle@alpine (RECO)
21722 2007/11/19 12:02:20 sqlplus@alpine (TNS V1-V3)
22146 2007/11/19 12:14:11 sqlplus@alpine (TNS V1-V3)
22144 2007/11/19 12:14:11 sqlplus@alpine (TNS V1-V3)
22148 2007/11/19 12:14:11 sqlplus@alpine (TNS V1-V3)