Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Kill a session dynanically using execute immediate Oracle
  • create database syntax Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Proc code Oracle
  • Implementing Listener Security Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Removing first line Linux/Unix
  • crontab syntax Linux/Unix
  • Find_table_size.sql Oracle
  • sql_doing_fts.sql Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • tab.sql Oracle
  • Oracle Identifiers Oracle

checking connectivity between two servers

Posted on 29-Jul-2008 By Admin No Comments on checking connectivity between two servers

LASTFILE=`${PRDCMODE} ${PRDHOST} “ls -latr ${PRDARCH}/*.arc” |nawk ‘{print $9}’|tail -1|sed ‘s/[A-Za-z/. ]//g’|sed ‘s/^0*/

/g’`

if [ $? != 0 ];then

print “${STB1SID}: ${ALIAS} Standby on ${STB1HOST} – CRITICAL ERROR” >> ${NOTOKLOG} 2>/dev/null

exit 50

fi

Linux/Unix, shell

Post navigation

Previous Post: Find long Running Transaction
Next Post: Reading parameter file and printing

Related Posts

  • checking redhat linux version Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Monitor and Trace Unix processes using truss Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • tar and untar a dolder with all its subfolder. 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
  • Reading config file from other folder inside class Python/PySpark
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • how to find VIP from ifconfig Linux/Unix
  • Oracle Data Direct to TAPE Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • First Entry in RAC Oracle
  • Load SPM baseline from AWR Oracle
  • Kill a session dynanically using execute immediate Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme