![Forrest logo](/images/logo.png)
rspamc:tldr:1c930
The rspamc stat
command is used to retrieve statistical information from a Rspamd server. Rspamd is an advanced spam filtering system that is commonly used in email servers.
When you execute rspamc stat
, it sends a request to the Rspamd server and receives various statistical data in response. This information provides insights into spam and other messages that have been processed by Rspamd.
The statistics returned by the rspamc stat
command typically include:
- The number of messages processed: The total count of messages that have been scanned by Rspamd.
- Messages learned: The number of messages that Rspamd has learned from (either spam or ham).
- Connections: The count of active connections to the Rspamd server.
- Pending scans: The number of messages currently in the queue awaiting processing.
- Users: The number of unique users being serviced by the Rspamd server.
- Worker threads: The number of worker processes handling requests in parallel.
This command is useful for administrators or users who want to monitor the performance and effectiveness of the Rspamd spam filtering system. By regularly checking these statistics, they can identify any potential issues, such as a high number of pending scans or an increase in spam messages processed.