4 Replies Latest reply: Jun 21, 2012 10:40 PM by Sunthar Tharmalingam RSS

    adump

    919719
      Hello friends,
      If its possible to delete 'adump' files automatically. If its possible Give the command how it is possible.

      Thanks.
        • 1. Re: adump
          878451
          Hi,
          adump is a directory that contains audit logs, and it stays on OS.

          I don´t know if exists a command to delete adump files by oracle database, but i know a shell script that would do.

          I think you should tell what Operational System you´re using.

          Regards
          • 2. Re: adump
            919719
            OEL 5.3 with oracle 10g.

            Edited by: 916716 on May 3, 2012 11:47 PM
            • 3. Re: adump
              878451
              i use
              find /u01/directory/adump/*.aud ! -mtime -2 -print -exec rm -rf {} \;

              This command delete *.aud files in /u01/directory/adump directory, generated in two days ago.

              then i used the command crontab to execute a file with this command, daily.

              Hope this helps.

              Regards
              • 4. Re: adump
                Sunthar Tharmalingam
                you can create a shell script and put it in cron to automate it.
                Thanks...