Not able to run "rm" to delete files with "dirscan" probe

Document ID:  TEC1771995
Last Modified Date:  08/04/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Unified Infrastructure Management

Releases

  • CA Unified Infrastructure Management:Release:8.51

Components

  • UIM - DIRSCAN:UIMDRS
Introduction:

Using the "dirscan" probe on a Linux robot, we have a profile that looks for a certain file extension and file size.

It manages to find the file of with the size and extension (even generates an alarm), but it is not deleting the file.  

Under the "Size" tab in the command line, we are using: rm *.hprof

 

Question:

What is the correct syntax to delete files using the "dirscan" probe on a Linux robot?

Environment:
- RHEL 7 - UIM 8.5.1
Answer:

Use the "-f" parameter for the "rm" command and also put the full path of the directory.

For example:  rm -f /path/to/directory/*.hprof

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >