This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ############################################################################################################################################# | |
# This script KILLS all linux processes that match specific pattern provided by the user: | |
# Ver 1.0 | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 08-05-23 # # # # # | |
# Modified: | |
# ############################################################################################################################################# | |
# Terminate the Script if the OS is not Linux: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1f 8b 08 00 4b 6e 51 63 00 03 ec 3d 7b 5f db 48 | |
92 f9 d7 fa 14 15 85 1d 43 82 9f 40 f2 1b 33 cc | |
ae c0 02 7c e3 07 67 99 10 96 30 46 d8 32 d6 c6 | |
b6 bc 96 0c 61 62 ee b3 5f 55 77 4b 6a f9 09 04 | |
d8 e4 ce da 1d 62 a9 5f d5 f5 ee ea 6a 29 bf ab | |
d5 77 8f cb f9 a2 fe 21 f5 ea 99 ae 34 5e 1f b6 | |
b6 5e a5 33 5b d9 f4 87 0d fe ef fb 0c 7b 2e ae | |
57 99 cd 8d ec 66 f6 fd 7b fc 0f cb b3 9b ef d3 | |
af 60 eb b9 00 92 af a1 eb 99 03 80 57 ce c0 6c | |
74 ac d9 f5 1c bb 87 35 3b 9d 97 80 e9 05 af bc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ############################################################################# | |
# Script to get the SQLID for a goldengate transaction id XID | |
# Ver 1.0 | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 23-09-21 # # # # # | |
# | |
# | |
# | |
# ############################################################################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# #################################################################################################### | |
# This script shows AUDIT records for DB User. | |
# To be run by ORACLE user | |
# Ver 2.2 | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 25-04-2013 # # # # # | |
# | |
# Modified: 07-03-2019 Allow the user to control the display of LOGIN/LOGOFF data. | |
# 10-03-2019 Added the option of excluding specific audit action from the report. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ######################################################################################################################################### | |
# DISCLAIMER: THIS SCRIPT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS". | |
# THE AUTHOR WILL NOT BE HELD RESPONSIBLE TO ANY PERSON OR ENTITY WITH RESPECT TO ANY DATA LOSS OR DAMAGES CAUSED BY THIS SCRIPT. | |
# | |
# Ver: 1.3 | |
# This script help with importing data using impdp. | |
# | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# # # # # # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ######################################################################################################################################## | |
# Retrieve the SQLTEXT + BIND VARIABLES + EXEC PLAN + PLAN HISTORY + BASELINE + FIX PLAN + TUNING ADVISOR | |
VER="[3.6]" | |
# # # # | |
# Authors: Mahmmoud ADEL # # # # # # | |
# Farrukh Salman # # # #### | |
# Created: 24-12-11 # # # # # | |
# Modified: 31-12-13 Customized the script to run on various environments. | |
# 06-05-14 Getting the Bind Variable info for the SQLID | |
# 05-11-15 Fix Divided by Zero error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ##################################################################################################################################################### | |
# Monitor audit records [Failed login attempts & MAJOR AUDIT RECRODS] on audit trail table | |
VER="[1.0]" | |
SCRIPT_NAME="monitor_audit_records" | |
# ##################################################################################################################################################### | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 28-09-20 # # # # # | |
# | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ######################################################################################################################################################### | |
# Ver 3.2 | |
# SCRIPT TO REBUILD A GIVEN TABLE AND ITS INDEXES USING ONLINE FEATURES DBMS_REDEFINITION/ONLINE REBUILD IF AVAILABLE OR OFFLINE REBUILD AS A FINAL RESORT | |
# ######################################################################################################################################################### | |
# | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 16-06-14 # # # # # | |
# | |
# Modified: 17-06-14 Inform the user if the DB is in Force Logging Mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ############################################################################################## | |
# Script to be used on crontab to schedule an RMAN Image/Copy Backup | |
VER="[1.2]" | |
# ############################################################################################## | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 01-10-17 # # # # # | |
# | |
# Modified: 02-10-17 | |
# 10-03-19 Add the option of deleting old CONTROLFILE AUTOBACKUP files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ############################################################################################## | |
# Script to be used on the crontab to schedule an RMAN Full Backup | |
VER="[1.3]" | |
# ############################################################################################## | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 04-10-17 # # # # # | |
# | |
# Modified: | |
# 10-03-19 Add the option of deleting old CONTROLFILE AUTOBACKUP files. |
NewerOlder