الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

كيف يمكن يمكن فعل ذلك في الويندوز ؟ سكريبت لينكس

Featured Replies

بتاريخ:

#Script used to monitor the database alert log file
LOGFILE=/tmp/database_alert_$ORACLE_SID.log
RETURN_CODE=`grep ORA- /[bdump]/alert.log | wc -l`
if [ $RETURN_CODE -eq 0 ]
then
exit 0
else
echo "$ORACLE_SID - There are $RETURN_CODE errors in Alert log" >
$LOGFILE
exit 1
fi

تم تعديل بواسطة islamic_boy600

بتاريخ:

Hello

This is a simple Windows Batch file that will do the same function as the Unix Shell Script you send

1- Open a text file in Windows

2- Copy these 2 lines to the text file and rename it to Read_Alert.bat

set filename="D:\oracle\product\10.2.0\orcl\bdump\orcl_alert.log"
find /n "ORA-" %filename% >Alert_log_errors.txt



3- Replace D:\oracle\product\10.2.0\orcl\bdump\orcl_alert.log with the path of your database Alert Log File and then save the batch file

4- Run the batch file you will get another file in your current folder called Alert_log_errors.txt it has all ORA errors found in your Alert Log File and thier Line Numbers.

hope this will help

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.