Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DBMS_STATS Metalinks Notes Oracle
  • Another export with Query Oracle
  • get_vmstat_solaris Oracle
  • perf_today.sql Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Sending email with file attachment. Linux/Unix
  • How to analyze statspack or AWR report. Oracle
  • Good links for x$ tables in oracle. Oracle
  • DB Console Mainenance. Oracle
  • Exadata Basics Oracle
  • Reading parameter file and printing Linux/Unix
  • ORACLE_SID in sqlplus Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • tblwopk.sql tablewopk.sql Oracle

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

  • Search and Replace vi editor command. Linux/Unix
  • CPU speed on Linux Linux/Unix
  • Session_info.ksh Linux/Unix
  • note id 373303.1 Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • checking connectivity between two servers Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Search and replace pattern Linux/Unix
  • set_env_dba Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • find_pk.sql /* Find Primary Key */ Oracle
  • note id 373303.1 Linux/Unix
  • Oracle Identifiers Oracle
  • Oracle Material from OTN Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme