Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Jai Shree Ram Linux/Unix
  • Export With Query Another Example. Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • upload.html PHP/MYSQL/Wordpress
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Oracle Internal Good Websites 1 Oracle
  • Caching sequence in Memory Oracle
  • Unix split command to split files Linux/Unix
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • sess1.sql Oracle
  • Index Range Scan Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Generating XML from SQLPLUS Oracle
  • To see mem usage and CPU usage system wide. Linux/Unix

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

  • Which environment is used by currently running process ( Very good) Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • Space padding in korn shell Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh 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
  • chk_space_SID.ksh Linux/Unix
  • Library cahe Latches and internal explaination Oracle
  • Generate SSH without password authentication. Linux/Unix
  • Creating never expiring DB user accounts in Oracle Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • note id 373303.1 Linux/Unix
  • find_string_in_database.sql Oracle
  • plan10g.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme