Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find Stale DR Physical Standby Oracle
  • SAN Linux/Unix
  • Very Good Oralce Internal Tuning Book Oracle
  • Small sample shell program Linux/Unix
  • All Hints for Oracle Databases Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Find all users who have DML privileges Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • move_arch_files.ksh Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • FRA Information. Oracle
  • column level grant syntax Oracle
  • adding new line after specific pattern using sed 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

  • runsql_once.ksh Linux/Unix
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • nfs mount command Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • Monitor and Trace Unix processes using truss 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
  • Monitor and Trace Unix processes using truss Linux/Unix
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • find the files that are 1 day old. Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • Jai Shree Ram Oracle
  • cold backup scripts to copy locally Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme