ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Script – List status of all submitted DBMS jobs(转)

Script – List status of all submitted DBMS jobs(转)

原创 Linux操作系统 作者:tingsheng 时间:2011-07-29 14:09:23 0 删除 编辑

Script. – List status of all submitted DBMS jobs

set pagesize 100 set linesize 120 ttitle - center 'Submitted DBMS Jobs' skip 2 col job format 99999 heading 'job#' col subu format a10 heading 'Submitter' trunc col lsd format a5 heading 'Last|Ok|Date' col lst format a5 heading 'Last|Ok|Time' col nrd format a5 heading 'Next|Run|Date' col nrt format a5 heading 'Next|Run|Time' col fail format 999 heading 'Errs' col ok format a2 heading 'Ok' select job, log_user subu, what proc, to_char(last_date,'MM/DD') lsd, substr(last_sec,1,5) lst, to_char(next_date,'MM/DD') nrd, substr(next_sec,1,5) nrt, failures fail, decode(broken,'Y','N','Y') ok from sys.dba_jobs;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7734298/viewspace-703513/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-11-30

  • 博文量
    25
  • 访问量
    86380