DB2定時清理歸檔日誌腳本

logseq=`(db2 get db cfg for $1|grep ' First active log file  '|awk '{print $6}')`ide

db2 connect to $1>/dev/null
db2 prune logfile prior to $logseq >/tmp/clearlogISONLDB.out
相關文章
相關標籤/搜索