1Clam Daemon(8) Clam AntiVirus Clam Daemon(8)
2
3
4
6 clamd - an anti-virus daemon
7
9 clamd [options]
10
12 The daemon listens for incoming connections on Unix and/or TCP socket
13 and scans files or directories on demand. It reads the configuration
14 from /etc/clamd.conf
15
17 clamd recognizes the following commands:
18
19
20 PING Check the server's state. It should reply with "PONG".
21
22 VERSION
23 Print program and database versions.
24
25 RELOAD Reload the virus databases.
26
27 SHUTDOWN
28 Perform a clean exit.
29
30 SCAN file/directory
31 Scan a file or a directory (recursively) with archive support
32 enabled (if not disabled in clamd.conf). A full path is
33 required.
34
35 RAWSCAN file/directory
36 Scan a file or directory (recursively) with archive support dis‐
37 abled. A full path is required.
38
39 CONTSCAN file/directory
40 Scan file or directory (recursively) with archive support
41 enabled and don't stop the scanning when a virus is found.
42
43 MULTISCAN file/directory
44 Scan file in a standard way or scan directory (recursively)
45 using multiple threads (to make the scanning faster on SMP
46 machines).
47
48 STREAM Scan stream - on this command clamd will return "PORT number"
49 you should connect to and send data to scan.
50
51 SESSION, END
52 Start/end a clamd session which will allow you to run multiple
53 commands per TCP session. It's recommended to prefix clamd com‐
54 mands with the letter n (eg. nSCAN) to indicate that the command
55 will be delimited by a newline character and that clamd should
56 continue reading command data until a newline is read. The new‐
57 line delimiter assures that the complete command and its entire
58 argument will be processed as a single command.
59
61 -h, --help
62 Output help information and exit.
63
64 -V, --version
65 Print the version number and exit.
66
67 -c FILE, --config-file=FILE
68 Read configuration from FILE.
69
71 /etc/clamd.conf
72
74 Please check the full documentation for credits.
75
77 Tomasz Kojm <tkojm@clamav.net>
78
80 clamd.conf(5), clamdscan(1), clamscan(1), freshclam(1), sigtool(1),
81 clamav-milter(8)
82
83
84
85ClamAV 0.92.1 February 12, 2007 Clam Daemon(8)