Saturday 4 July 2015

SCRIPTS :

Run the following script :

Display database uptime in days and hours


select SYSDATE-logon_time "Days", (SYSDATE-logon_time)*24 "Hours"
from   sys.v_$session
where  sid=1 /* this is PMON */
/



No comments:

Post a Comment