ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

This manual page is associated with Mac OS X Server. It is not available on standard Mac OS X (client) installations.

For more information about the manual page format, see the manual page for manpages(5).



Clam Daemon(8)                                 Clam AntiVirus                                 Clam Daemon(8)



NAME
       clamd - an anti-virus daemon

SYNOPSIS
       clamd [options]

DESCRIPTION
       The  daemon listens for incoming connections on Unix and/or TCP socket and scans files or directories
       on demand. It reads the configuration from /private/etc/clamd.conf

COMMANDS
       clamd recognizes the following commands:


       PING   Check the server's state. It should reply with "PONG".

       VERSION
              Print program and database versions.

       RELOAD Reload the virus databases.

       SHUTDOWN
              Perform a clean exit.

       SCAN file/directory
              Scan a file or a directory (recursively) with archive support  enabled  (if  not  disabled  in
              clamd.conf). A full path is required.

       RAWSCAN file/directory
              Scan a file or directory (recursively) with archive support disabled. A full path is required.

       CONTSCAN file/directory
              Scan file or directory (recursively) with archive support enabled and don't stop the  scanning
              when a virus is found.

       MULTISCAN file/directory
              Scan  file  in  a standard way or scan directory (recursively) using multiple threads (to make
              the scanning faster on SMP machines).

       STREAM Scan stream - on this command clamd will return "PORT number" you should connect to  and  send
              data to scan.

       SESSION, END
              Start/end  a clamd session which will allow you to run multiple commands per TCP session. It's
              recommended to prefix clamd commands with the letter n (eg. nSCAN) to indicate that  the  com-mand command
              mand  will  be delimited by a newline character and that clamd should continue reading command
              data until a newline is read. The newline delimiter assures that the complete command and  its
              entire argument will be processed as a single command.

OPTIONS
       -h, --help
              Output help information and exit.

       -V, --version
              Print the version number and exit.

       -c FILE, --config-file=FILE
              Read configuration from FILE.

FILES
       /private/etc/clamd.conf

CREDITS
       Please check the full documentation for credits.

AUTHOR
       Tomasz Kojm <tkojm@clamav.net>

SEE ALSO
       clamd.conf(5), clamdscan(1), clamscan(1), freshclam(1), sigtool(1), clamav-milter(8)



ClamAV 0.91.2                                 February 12, 2007                               Clam Daemon(8)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.