clamdtop man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

Clamdtop(1)			Clam AntiVirus			   Clamdtop(1)

       clamdtop - monitor the Clam AntiVirus Daemon

       clamdtop [options] [clamdspec ...]

       clamdtop	 is  a	tool  to  monitor  one or multiple clamd(s).  It has a
       (color) ncurses interface, that shows the jobs in clamd's queue, memory
       usage,  and  information	 about the loaded signature database.  You can
       specify on the command-line to which clamd(s) it should connect to.  By
       default	it  will  attempt  to connect to the local clamd as defined in

       -h, --help
	      Display help information and exit.

       -V, --version
	      Print version number and exit.   --config-file=FILE  Read	 clamd
	      settings from FILE, to determine how to connect to it.

	      Specifies	 the  clamd  to connect to: either a path to the local
	      (unix domain) socket of clamd, or an IP address and an port num‐
	      ber  (that  defaults  to	3310)  to connect to a local or remote
	      clamd using TCP/IP.


	      Displays a short helpscreen, describing the meaning  of  various
	      elements on the display.


	      Quits clamdtop


	      Resets the maximum values.

       up arrow, down arrow

	      If you are monitoring multiple clamds then clamdtop will show an
	      overview screen by default. You can use the up arrow  and	  down
	      arrow  keys  to  cycle  through each clamd individually, and the
	      overview screen.	A blue bar will highlight the  clamd  that  is
	      currently	 shown	in  detail. On the overview screen none of the
	      clamds is selected (hence no blue bar),  and  you	 can  see  the
	      items from the queue of all clamds.

   The top bar
       Shows  the  version  of clamdtop and the current time. Clamdtop updates
       the display once every 2 seconds.

   The list of clamds
       Shows the clamds that clamdtop is connected to,	and  statistics	 about

       NO     Unique clamd number

	      How long clamdtop has been connected (reset upon a reconnect)

       LIV    Total number of live threads

       IDL    Total number of idle threads

       QUEUE  Number of items in queue

       MAXQ   Maximum number of items observed in the queue

       MEM    Total memory usage (if available)

       HOST   Which clamd, local means unix socket

       ENGINE Engine version

       DBVER  Database version

       DBTIME Database publish time

   Clamd detailed view
       Primary threads live
	      The number of threads that are executing commands or scanning.

       Primary threads idle
	      The  number of threads that are idle, waiting for commands. They
	      will exit after IdleTimeout (30 seconds).

       Primary threads max
	      The maximum number of threads configured.

       Queue items
	      The number of items (scanjobs) in clamd's queue that are waiting
	      for a free thread to be processed.

       Queue max
	      The maximum number of items observed in clamd's queue.

   The memory usage view
       If available, it will show details on clamd's memory usage:

       Mem heap
	      The amount of memory used by libc from the heap in MegaBytes.

       Mem mmap
	      The  amount of memory used by libc from mmap-allocated memory in

       Mem unused
	      The amount of memory that can be reclaimed by libc.

       Libc used
	      The amount of useful memory allocated by libc.

       Libc free
	      The amount of memory allocated by libc, that can't be freed  due
	      to fragmentation.

       Libc total
	      The amount of memory allocated by libc from the system in total.

       Pool count
	      The number of mmap regions allocated by clamd' memory pool allo‐
	      cator (for the signature database).

       Pool used
	      The amount of memory used by clamd's memory pool allocator  (for
	      the signature database).

       Total  The  total  amount  of  memory  allocated by clamd's memory pool

   The clamd job queue
	      Kind of command being executed,  STATS  is  clamdtop,  SCAN/CON‐
	      TSCAN/FILDES/MULTISCAN  is  scan of a file/directory, MULTISCAN‐
	      FILE is scan of one item by a MULTISCAN job.

	      The time since the command got queued, until now.

       FILE   The name of the file being processed (if applicable).

       (1) To connect to the clamd configured in the default clamd.conf:


       (2) To connect to the clamd configured in another clamd.conf:

	      clamdtop --config-file=/path/to/clamd.conf

       (3) To connect to a clamd running on another machine  (  on
       the LAN:


       (4) To connect to a clamd running on another machine ( on a
       non-default port (3410):


       (5) To monitor the local clamd and 2 other remote clamds over TCP/IP:

	      clamdtop localhost

       clamdtop uses colors if the terminal is capable of colors.  If you know
       your  terminal  is  capable  of colors, yet you aren't seeing any, then
       check that your TERM environment variable is set correctly.  For	 exam‐
       ple  try	 setting  it  to  TERM=xterm-color if you are in an xterm-like

       0 : Normal terminator

       >0: Error occured.

       Please check the full documentation for credits.

       Török Edvin <>

       clamd(8), clamd.conf(5)

ClamAV 0.96		       February 22, 2009		   Clamdtop(1)

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net