SELECT s.username,
     s.osuser,
     s.sid,
     s.serial#,
     p.spid,
     s.status,
     s.machine,
     s.program,
     TO_CHAR(s.logon_Time,'DD-MON-YYYY HH24:MI:SS') AS logon_time
   FROM v$session s
  inner join v$process p
     on s.paddr = p.addr
  WHERE s.status = 'ACTIVE'
  and osuser <> 'oracle';
   -- and s.type <> 'BACKGROUND';

SELECT s.username,
s.osuser,
s.sid,
s.serial#,
p.spid,
s.status,
s.machine,
s.program,
TO_CHAR(s.logon_Time,'DD-MON-YYYY HH24:MI:SS') AS logon_time
FROM v$session s
inner join v$process p
on s.paddr = p.addr
WHERE s.status = 'ACTIVE'
and s.type <> 'BACKGROUND';

ALTER SYSTEM KILL SESSION 'sid,serial' IMMEDIATE;

hostgator