ajout de host
This commit is contained in:
@@ -5,5 +5,5 @@ do
|
||||
export ORAENV_ASK=NO
|
||||
export ORACLE_SID=$r
|
||||
. oraenv -s > /dev/null
|
||||
sqlplus -s "/ as sysdba" @DailyCheck_html.sql > DailyCheck_$r_${DATETIME}.html
|
||||
sqlplus -s "/ as sysdba" @DailyCheck_html.sql > DailyCheck_${ORACLE_SID}_${DATETIME}.html
|
||||
done
|
||||
|
||||
@@ -55,6 +55,13 @@ prompt <h2>Database Status </h2>
|
||||
-- ---------------------------------------------------
|
||||
SELECT inst_id, name, to_char(CREATED ,'DD/MM/YYYY') CREATED , open_mode, DATABASE_ROLE, log_mode, FORCE_LOGGING, CURRENT_SCN FROM gv$database;
|
||||
|
||||
-- ---------------------------------------------------
|
||||
prompt <h2>Disk Status</h2>
|
||||
-- ---------------------------------------------------
|
||||
host df -h
|
||||
prompt <br>
|
||||
host free -h
|
||||
|
||||
-- ---------------------------------------------------
|
||||
prompt <h2>Database non default parameters</h2>
|
||||
-- ---------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user