How to find out how long certain on-demand scans were running
Applies to
- ONTAP 9
- VSCAN
- On-Demand scans
Answer
- The vserver vscan on-demand-task report show command with the -instance flag wil show you how long
- For example:
::> vserver vscan on-demand-task report show -vserver svm1 -task-name task1 -instance
Vserver: svm1
Task Name: task1
Report File Path: /data1/avod_1989_20220325_143431.log
Job ID: 2000
Job Duration: 31s
Number of Attempted Scans: 63
Number of Files Skipped from Scanning: 0
Number of Already Scanned Files: 3
Number of Successful Scans: 63
Number of Failed Scans: 0
Number of Timedout Scans: 0
Number of Clean Files: 27
Number of Infected Files: 36
Job Start Time: 1/01/2022 12:00:00
Job End Time: 1/01/2022 12:00:31
1 entry was displayed.