Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • create database link syntax Oracle
  • AWR license Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • lck.sql Oracle
  • eplan.sql Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • ipcs -l Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle
  • scripts to take listener.log backup Linux/Unix
  • How to check current redo log progress redo_progress.sql Oracle
  • DBA_HIST_SQLSTAT contents Oracle

purge_trc.sh

Posted on 02-Aug-2005 By Admin No Comments on purge_trc.sh

#!/bin/sh

. /oracle/oraprocs/oracle_env_10g_UAS

ORACLE_HOME=/oracle/app/oracle/product/10.1;export ORACLE_HOME

ORACLE_SID=UAS;export ORACLE_SID

find $UDUMP/*.trc -mtime +15 -exec rm {} ;

find $BDUMP/*.trc -mtime +15 -exec rm {} ;

find $CDUMP/*.trc -mtime +15 -exec rm {} ;

Linux/Unix, shell

Post navigation

Previous Post: cif crons
Next Post: rm_backup_arch_file.ksh

Related Posts

  • Zip and unzip with tar Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • Linux CPU info. Linux/Unix
  • crontab syntax Linux/Unix
  • find the files that are 1 day old. Linux/Unix
  • adding new line after specific pattern using sed 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • New OFA for 11g Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Monitor Long Running Job Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Unix command for system configuration Linux/Unix
  • online_ts_bkup.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme