Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • metalink all dynamic view reference notes. Oracle
  • Parallel DML Oracle
  • checking connectivity between two servers Linux/Unix
  • sid_wise_sql.sql Further explaination Oracle
  • nfs mount command Linux/Unix
  • Jai Shree Ram Oracle
  • Histogram Overview Oracle
  • Virtual Indexes in Oracle Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • currwait.sql Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Jai Shree Ram Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle

scripts to take listener.log backup

Posted on 26-Oct-2007 By Admin No Comments on scripts to take listener.log backup

# log listener

#

# MIOLIST=alert_$ORACLE_SID.log_`date ‘+%y%m%d%H’`

lsnrctl << ALFINE
set current_listener LISTENER_$ORACLE_SID

set log_status OFF

exit

ALFINE

mv $MIOLIST $MIOLIST.`date ‘+%y%m%d%H’`

lsnrctl << ALFINE
set current_listener LISTENER_$ORACLE_SID

set log_status ON

exit

ALFINE

Linux/Unix, shell

Post navigation

Previous Post: scripts to take listener.log backup
Next Post: scripts to take listener.log backup

Related Posts

  • Linux CPU info. Linux/Unix
  • copying/removing directory with all its subdirectory Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Find Command Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • When error comes for temporary tablespace with version <= 9i Oracle
  • crontab syntax Linux/Unix
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Postgres DB user and OS user. POSTGRESQL
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Wait.sql Oracle
  • db_status.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme