Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Physical Standby switchover with session active Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Goldengate document from Porus Oracle
  • My Test Case On 21-OCT-2005 Oracle
  • Error Handling in Proc Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Insert cause enqueue locks Oracle
  • good linux notes Linux/Unix
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Virtual Indexes in Oracle Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • find the files that are 1 day old. Linux/Unix
  • To Find Orphan OS processes. Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix

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

  • scripts to take listener.log backup Linux/Unix
  • Directory wise folder wise space usage Linux/Unix
  • set_env_dba Linux/Unix
  • handling filenname with space Linux/Unix
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • checking connectivity between two servers 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Korn Shell Arithmatic Linux/Unix
  • Committing distributed transaction using commit force Oracle
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • standard Monitoring – 1 Oracle
  • New OFA for 11g Oracle
  • Jai Shree Ram Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme