Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Posts
    369

    Unanswered: getting rid of log files

    I usually can trim log files by the db2 prune logfile command but for some reason the filesystem containing the log files keeps filling up even after running this command. Any tips? Can I manually delete these logs with unix rm command? Thanks

    Scott

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: getting rid of log files

    Scott .... Please pardon my ignorance ..

    Can you post the db2 prune log command you are using ... (Is it a db2 command ?)

    Cheers

    Sathyaram
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    May 2003
    Posts
    369

    it worked

    It worked sorry I must have made a typo but here is the command:

    # df -k /db2logs
    Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
    /dev/db2logs 29261824 20613256 30% 215 1% /db2logs

    # db2 prune logfile prior to S0049560.LOG
    DB20000I The PRUNE command completed successfully.

    # df -k /db2logs
    Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
    /dev/db2logs 29261824 23817416 19% 135 1% /db2logs

Posting Permissions

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