Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • Jai Shree Ram Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Database link password in user_db_links Oracle
  • Jai Shree Ram Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Nice notes on wait events Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • Find Plan Hash value fphv.sql Oracle
  • checking redhat linux version Linux/Unix
  • sql_plan9i.sql Oracle
  • Wait.sql Oracle
  • Find Stale DR Physical Standby Oracle
  • Rman Notes -1 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

  • Search and replace editor command in vi Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • Removing Blank lines from file using grep Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • Search and Replace vi editor command. 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • All Hints for Oracle Databases Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • How to find password change date for user Oracle
  • DBMS_JOB all example Oracle
  • Giving Grant on v$DATABASE Oracle
  • V$ROLLSTAT status is Full Oracle
  • Flowers Resize datafiles Oracle
  • Caching sequence in Memory Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme