Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • sesswait.sql Oracle
  • secure crt settings Linux/Unix
  • TNSNAMES entries details Oracle
  • Absolute file number and relative file number Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • Handling LOB data in Oracle Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Some useful Unix Commands Linux/Unix
  • proper cpu stats Linux/Unix
  • Good RAC & Standby Notes Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Changing unix system clock when Oracle database is running. Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix

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

  • scp with ssh2 Linux/Unix
  • Small sample shell program Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • Sort with ASCII order and Numeric Order Linux/Unix
  • Removing first line Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder 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 (403)
  • 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

  • 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.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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Jai Shree Ram Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • PLSQL Table Syntax 2 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme