Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • find_idle_cpu.sql Oracle
  • Checking SQL Server Version SQL Server
  • Find Stale DR Physical Standby Oracle
  • Sequence Resetting Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • RAC 11g with vmware Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • TRUNCATE Privs Oracle
  • Roles and Stored Procs II Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • find_encr_wallet.sql Uncategorized

Finding last recovered file on DR and remove all chanracters before any “/”

Posted on 08-Sep-2008 By Admin No Comments on Finding last recovered file on DR and remove all chanracters before any “/”

sunflower1/800P>ssh sunlight1 “grep “Media ” /EMCdb19/oracle/800L/bdump/alert_800L.log| grep -v grep | grep “arch” | tail -1 ”

Media Recovery Log /EMCdb16/archlog/800P/arch0000296866.arc

sunflower1/800P>

sunflower1/800P>ssh sunlight1 “grep “Media ” /EMCdb19/oracle/800L/bdump/alert_800L.log| grep -v grep | grep “arch” | tail -1 | sed -e s#^.*/##”

arch0000296866.arc

sunflower1/800P>

Linux/Unix, shell

Post navigation

Previous Post: replace alphabets using sed
Next Post: Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets.

Related Posts

  • scp with ssh2 Linux/Unix
  • Unix split command to split files Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • catall.sh Linux/Unix
  • proper cpu stats Linux/Unix
  • find the files that are 1 day old. 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 (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • 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.sh23-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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Jai Shree Ram Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Find All internal Parameters Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • Find long Running Transaction Linux/Unix
  • sql_doing_fts.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme