OS command help!!!
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: OS command help!!!

  1. #1
    Join Date
    Mar 2001
    Posts
    286

    OS command help!!!

    I have a unix script to check the Oralc alert log every 10 minutes. The concept is to use "diff" command to get the difference between the current alert log and the one that copied from 10 minutes ago. By doing this, I only need to review a small portion of the alert log and will never miss any important message inside the alert log.

    However, how do you do "diff" on NT? Is there a compatible command of "diff" on NT?

    Thank you.

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    http://www.programmersheaven.com/zon...t913/19947.htm

    plus a bunch of other places found via Google search "diff in MS-DOS"

  3. #3
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327
    WinDiff in Windows 2000 Support Tools.
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

  4. #4
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    Just a thought:

    The OEM event "Alert" monitors new errors being written to the alert log. You could save yourself some effort by using this to monitor all your instances in a central and simple manner. Better still, it is standard for all operating systems so you don't have to worry about supporting multiple scripts.

    Cheers

    Tim...
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: www.oracle-base.com
    My blog: www.oracle-base.com/blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width