Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Running select from V$ views from remote server Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • DBMS_JOB all example Oracle
  • online_bkup.sql Oracle
  • Oracle 11g Environment Setup Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • scripts to take listener.log backup Linux/Unix
  • runsql_once.ksh Linux/Unix
  • Rownum with Order by Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • create database link syntax Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix

move_arch_files.ksh

Posted on 02-Aug-2005 By Admin No Comments on move_arch_files.ksh

#!/bin/ksh

a=`ps -ef|grep “move_arch_files.ksh”|grep -v grep|wc -l`

if [ $a -gt 2 ]

then

echo “Exiting because of more than 1 Moving archive log script is running ”

exit

fi

#

## Setting Environment information and variables

#

NODENAME=`hostname`

Linux/Unix, shell

Post navigation

Previous Post: proc.sql
Next Post: move_arch_files.ksh /* Good One */

Related Posts

  • To see mem usage and CPU usage system wide. Linux/Unix
  • process id based files and processes Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • To Find Orphan OS processes. Linux/Unix
  • switchlogfile.sh Linux/Unix
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys 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
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • alter database backup controlfile to trace Oracle
  • fuser to check who is using diretory Linux/Unix
  • Find nth max and min. Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Processes Parameter decision Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Restoring a user’s original password 1051962.101 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme