Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sess1.sql Oracle
  • move_arch_files.ksh Linux/Unix
  • This is im telling Kishore Oracle
  • Checking SQL Server Version SQL Server
  • fkwoind.sql fkwoindex.sql Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • eplan9i.sql Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • find checksum of a file. Linux/Unix
  • switchlogfile.sh Linux/Unix
  • Locktree.sql Oracle
  • standard Monitoring – 1 Oracle
  • upload.html PHP/MYSQL/Wordpress

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

  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • cif crons Linux/Unix
  • Some useful Unix Commands Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • Some OS level threshold for performance. Linux/Unix
  • Deleting first line and lastline of a file using sed 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • JSON/XML Types in Oracle Oracle
  • How to set Processes Parameter Oracle
  • DBMS_SQL for alter session. Oracle
  • create a folder in multiple places Linux/Unix
  • Drop tempfiles from database Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • My Minimum Tuning Programs Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme