Clamdtop(1)
π CLAMDTOP π
okay so bestie, this is clamdtop from the Clam AntiVirus suite, and it lives in section 1 of the manual (that's Clamdtop(1) if you're being formal, which we are not). grab a snack, we're going in π«Ά
β¨ NAME β¨
clamdtop β monitor the Clam AntiVirus Daemon π
πΈ SYNOPSIS πΈ
clamdtop [options] [clamdspec ...]
π¦ DESCRIPTION π¦
so clamdtop is literally a tool to monitor one or multiple clamd(s). it's got a (color!) ncurses interface that shows you the jobs sitting in clamd's queue, the memory usage, and all the info about the loaded signature database. iconic behavior honestly π
you can specify on the command line which clamd(s) it should connect to. by default? it'll try to connect to the local clamd as defined in clamd.conf. no cap.
π OPTIONS π
-h,--helpβ shows you the help info and then dips. exit stage left. πͺ-V,--versionβ prints the version number and bounces.--config-file=FILEβ read clamd settings from FILE, so it knows how to connect to it.clamdspecβ specifies the clamd to connect to. it's either a path to the local (unix domain) socket ofclamd, OR an IP address and a port number (which defaults to3310) to connect to a local or remoteclamdusing TCP/IP. pick your fighter π
π OVERVIEW π
π KEYS:
Hβ displays a short helpscreen, describing the meaning of the various elements on the display. (a little legend for your vibes.)Qβ quitsclamdtop. bye bestie πRβ resets the maximum values. fresh start energy β¨- up arrow, down arrow β if you're monitoring multiple clamds then
clamdtopwill 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. slay.
π The top bar
shows the version of clamdtop and the current time. clamdtop updates the display once every 2 seconds. yes, it's a little heartbeat π
π The list of clamds
shows the clamds that clamdtop is connected to, and statistics about them.
NOβ unique clamd numberCONNTIMEβ how longclamdtophas been connected (reset upon a reconnect)LIVβ total number of live threadsIDLβ total number of idle threadsQUEUEβ number of items in queueMAXQβ maximum number of items observed in the queueMEMβ total memory usage (if available)HOSTβ which clamd;localmeans unix socketENGINEβ engine versionDBVERβ database versionDBTIMEβ database publish time
π Clamd detailed view
- Primary threads live β the number of threads that are executing commands or scanning. they're booked and busy fr fr π₯
- 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
libcfrom the heap, in MegaBytes. - Mem mmap β the amount of memory used by
libcfrom mmap-allocated memory, in MegaBytes. - 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
libcthat can't be freed due to fragmentation. π tragic. - Libc total β the amount of memory allocated by
libcfrom the system in total. - Pool count β the number of mmap regions allocated by clamd's memory pool allocator (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 allocator.
π The clamd job queue
COMMANDβ kind of command being executed.STATSisclamdtop,SCAN/CONTSCAN/FILDES/MULTISCANis scan of a file/directory,MULTISCANFILEis scan of one item by aMULTISCANjob.QUEUEDSINCEβ the time since the command got queued, until now.FILEβ the name of the file being processed (if applicable).
β EXAMPLES β
(1) to connect to the clamd configured in the default clamd.conf:
clamdtop
(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 (192.168.0.3) on the LAN:
clamdtop 192.168.0.3
(4) to connect to a clamd running on another machine (192.168.0.3) on a non-default port (3410):
clamdtop 192.168.0.3:3410
(5) to monitor the local clamd and 2 other remote clamds over TCP/IP:
clamdtop localhost 192.168.0.3 192.168.0.4
π NOTES π
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 example, try setting it to TERM=xterm-color if you are in an xterm-like environment. π
IPv6 support has been added. if specifying an IPv6 address, please use the normal IPv6 addressing rules. if specifying both an IPv6 address and a port combination, encapsulate the IPv6 address in square brackets (e.g. [::1]:3410). π¦
π’ RETURN CODES π’
0: Normal termination β¨>0: Error occurred. π
π«Ά CREDITS π«Ά
please check the full documentation for credits. (they're shy, ok?)
π AUTHOR π
TΓΆrΓΆk Edvin <edwin@clamav.net>
πΈ SEE ALSO πΈ
ok that's the whole page bestie, every single flag and field accounted for, no skips, no cuts, we ate π β¨
this was ClamAV 1.5.4, February 22, 2009 β and that's your Clamdtop(1) page, mwah πππ¦
π¦ where this page comes from
- arch rolling: clamav 1.5.4-1 Β· GPL-2.0-only
- nixpkgs unstable: clamav 1.5.4
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- ubuntu jammy: clamav-daemon 1.5.4+dfsg-0ubuntu0.22.04.1 Β· GPL-2.0-only
- ubuntu noble: clamav-daemon 1.5.4+dfsg-0ubuntu0.24.04.1 Β· GPL-2.0-only
- ubuntu resolute: clamav-daemon 1.5.4+dfsg-0ubuntu0.26.04.1 Β· GPL-2.0-only
- ubuntu stonking: clamav-daemon 1.5.4+dfsg-0ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms