Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • age_alert.ksh aging out alert.log Linux/Unix
  • Convert multiple rows to single column Oracle
  • eplan9i.sql Oracle
  • check_copy_progress.sh Linux/Unix
  • column level grant syntax Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • oracle 10g on linux Linux/Unix
  • Jai Shree Ram Linux/Unix
  • cur_sql.sql Oracle
  • good note for shared pool tunnig Oracle
  • catting.sh Linux/Unix
  • initUOCIOTTO.ora Oracle
  • Check_recovery.sh program to run sqlplus and return its values remotely. 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: Sample WW22 listener.ora
Next Post: Small sample shell program

Related Posts

  • Korn Shell Arithmatic Linux/Unix
  • process id based files and processes Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • catting.sh 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find long Running Transaction Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • This is from Temi Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • compile_inv.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme