Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Renaming Oracle Instance Name Oracle
  • Search and replace pattern Linux/Unix
  • Linux CPU info. Linux/Unix
  • cif crons Linux/Unix
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Read CSV File using Python Python/PySpark
  • catall.sh Linux/Unix
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • eplan9i.sql Oracle
  • Goldengate document from Porus Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Oracle 10g Wait Model Oracle
  • How to set Processes Parameter Oracle
  • good note for shared pool tunnig 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

  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • create a folder in multiple places Linux/Unix
  • switchlogfile.sh Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • how to find VIP from ifconfig 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
  • load SPM baseline from cursor cache Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • To see mem usage and CPU usage system wide. Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Find sort details from Db find_sort.sql Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • Korn Shell Arithmatic Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme