Next: Clamuko
Up: Usage
Previous: Usage
Clam daemon
clamd is a fully multi-threaded daemon, based on libclamav.
It's able to work in one of the two modes, using:
- Unix (local) sockets
- TCP sockets
The daemon is configured by the clamav.conf file. You will find
a description of all the options in the clamav.conf(5) manual.
clamd recognizes the following commands:
- PING
Check server's state. It should reply with "PONG".
- RELOAD
Reload the databases.
- QUIT
Perform a clean exit.
- SCAN file/directory
Scan a file or directory (recursively) with archive support. A
full path is required.
- RAWSCAN file/directory
Scan a file or directory (recursively) with archive support
disabled. A full path is required.
Internal threads (except clamuko) are ignoring all external signals.
The main thread handles SIGTERM and SIGINT signals
and performs a proper exit when one of them is caught.
Tomasz Kojm
2002-10-09