Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Script to purge the listener log

MahipalOct 20 2009 — edited Oct 20 2009
Hi,

I am planning to prepare a unix shell script to purge the listener log on daily basis.

My idea is to find the oracle_home locations from /etc/oratab and then move to those respective oracle home locations and archive/purge the listener logs.

But I am not getting the perfect script on how to display the ORACLE_HOME locations in /etc/oratab using UNIX commands, can any body help me on this?

Thanks in advance,
Mahi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2009
Added on Oct 20 2009
6 comments
905 views