44
Kaspersky Anti-Virus
®
5.0 for Linux, FreeBSD and OpenBSD File Server
section). Therefore proper functioning of the
aveclient
component requires
mandatory indication of the socket path using the
-p<path>
command line
option.
The component can accomplish the following tasks:
•
It can detect whether
aveserver
is running. If it is, the client component
can output on-screen information about the date of the most recent
update effected for the anti-virus databases and the number of records
therein. In addition, information about all installed license keys will be
displayed. The information telling whether the said daemon is running can
be duplicated in the return code (
Query
task).
In order to receive information on the status of
aveserver
daemon,
enter (for example) the following in the command line:
$ aveclient –p /var/run/aveserver -c
As a result a message telling whether
aveserver
is running will be displayed –
together with information on installed anti-virus databases and license keys
(provided that the connection is established) in the following format:
RECORDS <number of records> (
in the anti-virus databases)
UPDATED <latest update> (
of the anti-virus databases)
The following information is output for each license key:
SERIAL <key serial number>
EXPIRE <expiry date for the key>
<empty string>
•
The component also performs scanning of files transferred for anti-virus
processing from the command line with subsequent output of its results to
the screen and in the return code (
Scan
task).
Object: Anti-virus scanning of the
myfile.zip
file.
In order to accomplish the above task from the command line enter the
following:
$ aveclient –s –p /var/run/aveserver myfile.zip
Scanning result will be displayed in the following format:
<file name> <status>
[list name] [list]
where: