home‎ > ‎utilities‎ > ‎

infx clean

Clean up old log files.

usage

infx clean 
     clean service history and logfiles
       required:
         inst - instance name

example

devel1@bobii:/home/informix>infx clean devel1

start clean of devel1
checking /infx/inst/devel1/logs/mon-mons
checking /infx/inst/devel1/logs/stop
checking /infx/inst/devel1/logs/sample-post-backup
checking /infx/inst/devel1/logs/sample-snap
checking /infx/inst/devel1/logs/logging
checking /infx/inst/devel1/logs/photo
checking /infx/inst/devel1/logs/sample-post-hot
checking /infx/inst/devel1/logs/onstat
checking /infx/inst/devel1/logs/backup-logs
checking /infx/inst/devel1/logs/start
checking /infx/inst/devel1/logs/sample-ism-ism_startup
checking /infx/inst/devel1/logs/backup-dbs
checking /infx/inst/devel1/logs/ses
checking /infx/inst/devel1/logs/restore
  keeping /infx/inst/devel1/logs/restore
checking /infx/inst/devel1/logs/clean
checking /infx/inst/devel1/logs/archive-console
checking /infx/inst/devel1/logs/pool
checking /infx/inst/devel1/logs/sample-ism-start
checking /infx/inst/devel1/logs/archive-msgpath
checking /infx/inst/devel1/logs/dbphoto
checking /infx/inst/devel1/logs/inst
checking /infx/inst/devel1/logs/sqltrace
checking instance logfiles
  check /infx/inst/devel1/logs/online.log
  check /infx/inst/devel1/logs/online.con

notes

  • see config-ini to set the retention periods for log files