[clamav-users] check date

Dennis Peterson dennispe at inetnw.com
Sun Nov 9 16:39:04 UTC 2014


On 11/9/14 4:52 AM, Saker Hamdy Mohamoud Salama wrote:
> Dears,
>
> I want to know the date of updated files (daily.cvd & main.cvd).
>
>

 From a command line type:

$ cd /path_to_files && ls -l daily* main*

For example,

cd /var/lib/clamav && ls -l daily* main*

Compare the dates against your freshclam log updates entries:

$ cd /path_to_logfiles && tail freshclam.log

Example:

cd /var/log/clamav && tail freshclam.log
--------------------------------------
ClamAV update process started at Sun Nov  9 07:01:02 2014
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cld is up to date (version: 19604, sigs: 1255007, f-level: 63, builder: neo)
bytecode.cld is up to date (version: 242, sigs: 46, f-level: 63, builder: dgoddard)
--------------------------------------
ClamAV update process started at Sun Nov  9 08:01:01 2014
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cld is up to date (version: 19604, sigs: 1255007, f-level: 63, builder: neo)
bytecode.cld is up to date (version: 242, sigs: 46, f-level: 63, builder: dgoddard)

Compare this information with the ClamAV signature mirrors from the command line:

dig +short txt current.cvd.clamav.net
"0.98.4:55:19604:1415550540:1:63:42633:242"

Convert the Unix epoch time to local time (etime is a script I wrote):

etime 1415550540
Nov  9, 2014 at 08:29:00

dp



More information about the clamav-users mailing list