Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Statspack survival Guide Oracle
  • Database link password in user_db_links Oracle
  • How to see which patches are applied. Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • ext#.sql Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • Order by with ROWNUM Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • compile_inv.sql Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • Getting started with notebook Python/PySpark
  • CPU speed on solaris Linux/Unix
  • Jai Shree Ram 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

  • move_arch_files.ksh Linux/Unix
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Unix command for system configuration Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • ipcs -l 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • send attachment from unix-shell script Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • Parallel DML Oracle
  • Find Stale DR Physical Standby Oracle
  • Rename Oracle Instance Name Oracle
  • Paste command syntax Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme