Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DB Console Mainenance. Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • Shuffle an array PHP/MYSQL/Wordpress
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • All About Trace Fils Oracle
  • Generating XML from SQLPLUS Oracle
  • oracle 11g RAC on vmware Oracle
  • to see when crontab is changed. Linux/Unix
  • DBMS_STATS Metalinks Notes Oracle
  • find_cons.sql Oracle
  • All Hints for Oracle Databases Oracle
  • Handling LOB data in Oracle Oracle
  • SAT Mathematics 10 questions and answer at the end. Uncategorized
  • move_arch_files.ksh Linux/Unix
  • get_vmstat.ksh for Solaris 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

  • setting prompt display with .profile Linux/Unix
  • Linux CPU info. Linux/Unix
  • process id based files and processes Linux/Unix
  • create a folder in multiple places Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • tuning commmand for cpu, ip and memory stats 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 (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Changing Instance Name ( No DB_NAME) Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • eplan9i.sql Oracle
  • SQL Server: How to see current transactions or requests SQL Server
  • Find long Running Transaction Linux/Unix
  • FRA Information. Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • Updated LCK.SQL file. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme