Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • How can I tell if ASO is installed ? Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Read CSV File using Python Python/PySpark
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Oracle 11g Environment Setup Oracle
  • Error Handling in Proc Oracle
  • ext#.sql Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Find long Running Transaction Linux/Unix
  • Oracle Material from OTN Oracle
  • Rownum with Order by Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • DB Console Mainenance. Oracle
  • Space padding in korn shell Linux/Unix

Category: Linux/Unix

scripts to take listener.log backup

Posted on 26-Oct-2007 By Admin No Comments on scripts to take listener.log backup
Linux/Unix, shell

scripts to take listener.log backup

Posted on 26-Oct-2007 By Admin No Comments on scripts to take listener.log backup

# log listener # # MIOLIST=alert_$ORACLE_SID.log_`date ‘+%y%m%d%H’` lsnrctl

Linux/Unix, shell

scripts to take listener.log backup

Posted on 26-Oct-2007 By Admin No Comments on scripts to take listener.log backup

Linux/Unix, shell

proper cpu stats

Posted on 05-Oct-2007 By Admin No Comments on proper cpu stats

Kishore said if you are seeing any CPU wait, most probably that is because of DISK I/O. iostat -c 5 Thanks Paresh

Linux/Unix, shell

To find all disk io ( EMC as well as local)

Posted on 05-Oct-2007 By Admin No Comments on To find all disk io ( EMC as well as local)

iostat -pnxze 5

Linux/Unix, shell

Session_info.ksh

Posted on 24-Apr-2007 By Admin No Comments on Session_info.ksh

/********* session_info.ksh ****************/ #!/bin/ksh . /home/oracle/oraprocs/WEBP18F.env USR_ID=vivek USR_PASS=viv1ek database=WEBP18F a=`ps -ef|grep “session_info.ksh”|grep -v grep|wc -l` if [ $a -gt 4 ] then echo “Exiting because of more than 1 process is running `date`”>>/db3/oradata/log/session_info.log exit fi echo “—–Begin —– Date `date`——————————–” >> /db3/oradata/log/session_info.log $ORACLE_HOME/bin/sqlplus -s /db3/oradata/log/session_info.log $USR_ID/$USR_PASS@$database set serverout on set feedback off SET PAGES 0…

Read More “Session_info.ksh” »

Linux/Unix, shell

chk_space_SID.ksh

Posted on 14-Mar-2007 By Admin No Comments on chk_space_SID.ksh

#!/bin/ksh

Linux/Unix, shell

chk_space_SID.ksh

Posted on 14-Mar-2007 By Admin No Comments on chk_space_SID.ksh

#Description : This script will check whether free space is there for next extent allocation or not. #It checks TS level and OS level for extent allocation. Checks for UNIFORM allocated extents. #For system allocated extents. this script will check 1 GB should be there as free threshold. NODENAME1=`hostname` ORACLE_SID=WEBP18F LOG_FILE_DIR=/home/oracle/oraprocs/logs ENV_FILE=/home/oracle/oraprocs/WEBP18F.env #NOTIFY_LIST=’8774544468@skytel.com’,’8774537913@skytel.com’,’8666714349@skytel.com’,’8774538204@skytel.com’,’dbaoracle@1800flowers.com’,’8774889576@skytel.com’ NOTIFY_LIST=’pmehta@1800flowers.com’ ADMIN_USER=vivek…

Read More “chk_space_SID.ksh” »

Linux/Unix, shell

chk_space_SID.ksh

Posted on 14-Mar-2007 By Admin No Comments on chk_space_SID.ksh

. $ENV_FILE #sqlplus -silent / as sysdba

Linux/Unix, shell

To Find Orphan OS processes.

Posted on 19-Feb-2007 By Admin No Comments on To Find Orphan OS processes.

To Find Orphan OS processes. When a process run from command line its parent process id will be 1. Consider following example: In current session, we are executing SQLPLUS. whose process id = 22833 and parent is 22822. process 22822 is ksh. So this is not orphan process. if you find any process with parent…

Read More “To Find Orphan OS processes.” »

Linux/Unix, shell

Posts pagination

Previous 1 … 7 8 9 … 15 Next

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
  • Checking SQL Server Version SQL Server
  • plan10g.sql good Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Oracle Material from OTN Oracle
  • Load SPM baseline from AWR Oracle
  • Wait.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme