Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Giving Grant on v$DATABASE Oracle
  • Physical Standby switchover with session active Oracle
  • alter database backup controlfile to trace Oracle
  • Sequence Resetting Oracle
  • scripts to take listener.log backup Linux/Unix
  • Error Handling in Proc Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Changing unix system clock when Oracle database is running. Oracle
  • find the files that are 1 day old. Linux/Unix
  • How to see which patches are applied. Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • on IBM-AIX for display Linux/Unix
  • Creating a Container Database using dbaascli Uncategorized

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

  • telnet listening Linux/Unix
  • Directory wise folder wise space usage Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • purge_trc.sh Linux/Unix
  • CPU Core related projections AWS

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
  • pvm_pre_change.sql Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Important Solaris Commands Linux/Unix
  • Clean up Oracle
  • Find Command Linux/Unix
  • secure crt settings Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • How to stop OCSSD Daemon Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme