column machine format a30;
column event format a35;
column program format a20;
column service_name format a20;
column user format a7;
column status format a8;

select inst_id,sid,serial#,username as "USER",status,last_call_et,sql_id,event,logon_time,machine,program
from gv$session
where username = 'SENECA' 
and machine like upper('%DOMINIO061\PCSENECA-190%')
order by status,last_call_et;

