hok1man
Technical User
- Feb 16, 2008
- 102
Hi Guys,
Does anyone knows how to check as per subject above?
this is my query, but it doesn't show how long the process has been running :
Also, how to setup the display of the result query looks better readable like a proper table...
such as
here's what i tried but doesnt work :
set termout on;
set linesize 80;
set pagesize 60;
set newpage 0;
Thanks guys,
Does anyone knows how to check as per subject above?
this is my query, but it doesn't show how long the process has been running :
Code:
select
substr(a.spid,1,9) pid,
substr(b.sid,1,5) sid,
substr(b.serial#,1,5) ser#,
substr(b.machine,1,6) box,
substr(b.username,1,10) username,
substr(b.osuser,1,8) os_user,
substr(b.program,1,30) program
from v$session b, v$process a
where
b.paddr = a.addr
and type='USER'
order by spid;
Also, how to setup the display of the result query looks better readable like a proper table...
such as
Code:
PID SID SER# BOX USERNAME OS_USER PROGRAM
--------- ----- ----- ------ ---------- -------- ------------------------------
29883 66 7 corp-h APPS applmgr
here's what i tried but doesnt work :
set termout on;
set linesize 80;
set pagesize 60;
set newpage 0;
Thanks guys,