Hi Marcos,
Thanks for your reply. cls is working more or less as expected. The issue is odscan performance. I expected it to be faster than cls but odscan command take more than 7 times longer than cls to scan the same set of files (1.1MB total).
Something I forgot to mention: Report in the GUI says that odscan task completed in a second but actual command on the system takes 25+ seconds. cls command around 3 seconds.
Here is the output of the commands:
# time /opt/eset/efs/sbin/cls/cls virus
ECLS Command-line scanner, version 1.1.1.0, Copyright © 1992-2022 ESET, spol. s
r. o. All rights reserved.
Module loader, version 1077 (20200622), build 1140
Module perseus, version 1587 (20220322), build 2287
Module scanner, version 25087 (20220411), build 53119
Module archiver, version 1329 (20220314), build 1409
Module advheur, version 1215 (20220126), build 1224
Command line: virus
Scan started at: Mon Apr 11 08:10:00 2022 <snip>
Scan completed at: Mon Apr 11 08:10:00 2022
Scan time: 0 sec (0:00:00)
Total: files - 3, objects 9
Detected: files - 2, objects 2
Cleaned: files - 0, objects 0
real 0m2.981s
user 0m2.890s
sys 0m0.061s
# time /opt/eset/efs/bin/odscan --scan --profile=<LocalProfile> --show-scan-info virus
{
"type":0,
"session_id":13,
"log_name":"ndlUCYyoM"
}
real 0m25.446s
user 0m0.081s
sys 0m0.009s
Regards,
Stoyan