Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Unix command for system configuration Linux/Unix
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Optimizer SORT Operations Oracle
  • Generating XML from SQLPLUS Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Monitor Long Running Job Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • Oracle Metalink useful notes Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • shutdown linux Linux/Unix
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell 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

  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • kill all processes from specific user in solaris. Linux/Unix
  • Some useful Unix Commands Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • Paste command syntax Linux/Unix
  • move_arch_files.ksh 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Proc Compilation Oracle
  • restarting network in linux Linux/Unix
  • How can I tell if ASO is installed ? Oracle
  • Nice notes on wait events Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • Temporary tablespace explaination Oracle
  • Order by with ROWNUM Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme