Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • SQL Server: How to see historical transactions SQL Server
  • kill all processes from specific user in solaris. Linux/Unix
  • SQL Server Vs Oracle Architecture difference SQL Server
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • executing Function from SQLPLUS prompt Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • scripts to take listener.log backup Linux/Unix
  • fuser to check who is using diretory Linux/Unix
  • findobj.sql Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • Caching sequence in Memory Oracle
  • Flowers Resize datafiles Oracle

Category: shell

note id 373303.1

Posted on 22-May-2009 By Admin No Comments on note id 373303.1

find the runnung process’s environment

Linux/Unix, shell

Which environment is used by currently running process ( Very good)

Posted on 22-May-2009 By Admin No Comments on Which environment is used by currently running process ( Very good)

Goal After a process has been started, in order to find out the environment that was used to start it, the following methods can be used, depending on the OS platform: Solution 1. Determine the pid of the process at OS level, eg for the smon process: ps -ef | grep smon 2. Get the…

Read More “Which environment is used by currently running process ( Very good)” »

Linux/Unix, shell

tar and untar a dolder with all its subfolder.

Posted on 19-May-2009 By Admin No Comments on tar and untar a dolder with all its subfolder.

Following command will be used for Tarring/copying local files and untarring/extracting at target folder. $ tar cf – * | ( cd /target; tar xfp -)

Linux/Unix, shell

secure crt settings

Posted on 04-May-2009 By Admin No Comments on secure crt settings

Copy on Select The Copy on select feature allows you to speed up the process of copying text from the terminal screen to the Clipboard. If this feature is enabled, text is copied to the Clipboard as soon as it is selected. To enable/disable the Copy on select feature: 1. Select the Terminal category in…

Read More “secure crt settings” »

Linux/Unix, shell

scp with ssh2

Posted on 24-Apr-2009 By Admin No Comments on scp with ssh2

scp -p -o ‘protocol 2’ SOURCE_FILE TARGET_HOST:TARGET_FILE

Linux/Unix, shell

Running some SQL on multiple databases connecting using monitoring userid and password

Posted on 08-Feb-2009 By Admin No Comments on Running some SQL on multiple databases connecting using monitoring userid and password

==>cat tns_entry_list DB1 Db2 Db3 db4 ==>cat find_max_dbfs.ksh #!/bin/ksh for tns_entry in `cat tns_entry_list` do echo “–” echo “——— TNS ENTRY ${tns_entry} ———-” /oracle/app/oracle/product/9.2.0.8/bin/sqlplus monioring_user/monitoring_password@${tns_entry} cat find_max_dbfs.sql set lines 120 pages 200 col “-?db_files_value” format a20 col “MAXDATAFILES” format 9999999999999999 col “USED MAXDATAFILES” format 99999999999999 select ‘-?’ || x.value as “-?db_files_value”, y.records_total “MAXDATAFILES”, y.records_used “USED…

Read More “Running some SQL on multiple databases connecting using monitoring userid and password” »

Linux/Unix, shell

Adding addidional hard drive and attach it to a linux box.

Posted on 25-Dec-2008 By Admin No Comments on Adding addidional hard drive and attach it to a linux box.

1) Add hard drive in vmware console. Select any SCSE disk type. 2) From vmware itself you will know that what will its sd number. like will it be sda,sdb.. or sdz. 3) start virtual machine and do the following as root: # fdisk /dev/sdg1 Here create a primary partition and write partition table. now…

Read More “Adding addidional hard drive and attach it to a linux box.” »

Linux/Unix, shell

shutdown linux

Posted on 14-Dec-2008 By Admin No Comments on shutdown linux

shutdown -h now

Linux/Unix, shell

Processes parameter and its dependencies on OS kernel parameters

Posted on 19-Nov-2008 By Admin No Comments on Processes parameter and its dependencies on OS kernel parameters

At this time in 800P, we are having following parameter set. NAME TYPE VALUE ———————————— ———– —————————— processes integer 3500 sessions integer 9000 The main parameter is “processes” parameter as it depends upon the # of semaphores in the system. This parameter depends upon followng kernel values. nproc – Maximum number of processes that can…

Read More “Processes parameter and its dependencies on OS kernel parameters” »

Linux/Unix, shell

Nice Article about semaphores and init.ora Processes parameter relations

Posted on 19-Nov-2008 By Admin No Comments on Nice Article about semaphores and init.ora Processes parameter relations

metalink note: 15566.1 PURPOSE Shared memory and semaphores are two important resources for an Oracle instance on Unix. An instance cannot start if it is unable to allocate what it needs. This paper primarily discusses the process Oracle goes through to allocate shared memory and semaphores at instance startup. Other important points unrelated to startup…

Read More “Nice Article about semaphores and init.ora Processes parameter relations” »

Linux/Unix, shell

Posts pagination

Previous 1 … 3 4 5 … 15 Next

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • sesswait.sql Oracle
  • compile_inv.sql Oracle
  • Export Oracle data and Compress at same time Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • find the files that are 1 day old. Linux/Unix
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • create a folder in multiple places Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme