Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: limit alertSID.log file size
Some might say that "rm" is not clean enough: it leaves the inode open by the instance:
$ lsof|grep 368024
oracle 10561 oracle 6w REG 254,8 7300 368024 /usr/oracle/admin/TEST/bdump/alert_TEST.log (deleted) oracle 10561 oracle 7w REG 254,8 7300 368024 /usr/oracle/admin/TEST/bdump/alert_TEST.log (deleted) oracle 10563 oracle 6w REG 254,8 7300 368024 /usr/oracle/admin/TEST/bdump/alert_TEST.log (deleted) oracle 10563 oracle 7w REG 254,8 7300 368024 /usr/oracle/admin/TEST/bdump/alert_TEST.log (deleted)...
A simple and neat solution is "cp" and then ">alertSID.log"
Vitalis
-- Message posted via http://www.oraclemonster.comReceived on Wed Jan 12 2005 - 03:29:09 CST