Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • S3 Basic info AWS
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • Some OS level threshold for performance. Linux/Unix
  • SQL Server: How to see current transactions or requests SQL Server
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • longtx.sql Oracle
  • find_open_cur.sql Find open cursorts per session Oracle
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • oradebug ipcrm ipcs Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • Rename Oracle Instance Name Oracle
  • Good notes for shared pool Oracle
  • SQL Server: How to see historical transactions SQL Server

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

  • rm_backup_arch_file.ksh Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • Kernel Parameters for Solaris Linux/Unix
  • good linux notes 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Monitor Long Running Job Oracle
  • ipcs -l Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • switchover for primary database Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme