Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DBMS_STATS Metalinks Notes Oracle
  • RAC with RHEL4 and 11g Oracle
  • Database logon trigger issue Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Jai Shree Ram Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • pvm_pre_change.sql Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Physical Standby switchover with session active Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • oracle 11g RAC on vmware Oracle
  • Read CSV File using Python Python/PySpark

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

  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • Find Command Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • process id based files and processes Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Reading config file from other folder inside class Python/PySpark
  • Find total file sizes Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • Multiple listeners Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • All Hints for Oracle Databases Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Rename Oracle Instance Name Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme