On 04/22/2012 01:57 AM, Alexandre Dias wrote: > Hello, > > I would like to find out how much time it takes for ClamAV to scan a > given file (without counting with the initialization phase - just the > file scanning). > > When a scan is ran, the time given by ClamAV includes the > initialization phase, correct? > > Is there any way to just get the scanning time, without changing the > source code? >
Start clamd, and use clamdscan. That will report just the file scanning time (plus queuing time in clamd, but if you're the only one using clamd that should be close to zero). Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml