Deleting CEM Defect Files

Document ID : KB000030165
Last Modified Date : 14/02/2018
Show Technical Document Details


How to delete all or selectively APM CE (CEM) defects files.



-To delete all defects:

  •  Shut the TIM service down 
  •  Log into the TIM (via SSH or similar) console 
  •  if desired, back up the /wily/cem/tim/data/out/defects/ directory.
  •  Remove /wily/cem/tim/data/out/defects/worker*/* 
  •  Start TIM back up. 
  • Confirm that the TIM Collector can perform the listDefects command without issue


- To selectively delete defects:

Simply run the below command after changing to the defects folder on TIM machine: 

cd /wily/cem/tim/data/out/defects 

find . -type f -exec rm -f {} + 


Note: If this is a MTP enabled TIM then run this command under each worker folder. For e.g., 

cd /wily/cem/tim/data/out/defects/worker<number>