Justin, > I am using amavisd-nanny for the first time. > I don't quite understand what to read. > I couldn't understand explanation in the documentation. > Can someone help me to understand what are the dots mean > and how to read my amavisd-nanny?
> PID 06473: 0:02:01 .........:.........:.........:..... > PID 06532: 0:03:52 .........:.........:.........:..... > PID 06539: 0:00:07 ....... > PID 06548: 06548-04-4 0:00:00 S > PID 06549: 06549-05-8 0:00:05 SSSSS > PID 06551: 0:00:43 .........:.........:.........:..... > PID 06558: 06558-05 0:00:00 S > PID 06559: 0:02:06 .........:.........:.........:..... > PID 06564: 06564-04-2 0:00:00 S > PID 06566: 06566-01-2 0:00:00 F > PID 06567: 0:00:40 .........:.........:.........:..... > PID 06570: 0:00:10 .........: > PID 06571: 0:00:47 .........:.........:.........:..... > PID 06573: 06573-02-11 0:00:02 SSS The first column is the process id of a child process, the second column is a log_id of a mail transaction that is currently being processed (same id as in logs), or empty for an idle process. For a brief interval a dot may appear there, which happens with a process that just began its work but log_id hasn't yet been assigned. Next follows elapsed time since the last transition: if process is idle it is the time since the process became idle, if process is not idle, it is the elapsed time since the SMTP transaction started (transaction starts with a MAIL FROM smtp command). Next the bar chart illustrates the same elapsed time, one character for each elapsed second. Characters are dots for idle process, and other characters as per the legend: $ amavisd-nanny -h States legend: A accepted a connection b begin with a protocol for accepting a request m 'MAIL FROM' smtp command started a new transaction in the same session d data transfer from MTA to amavisd = content checking just started D decoding of mail parts V virus scanning S spam scanning P pen pals database lookup and updates r preparing results Q quarantining and preparing/sending notifications F forwarding mail to MTA . content checking just finished sp space indicates idle (elapsed bar is showing dots) Usage: /usr/local/sbin/amavisd-nanny [ -w <wait-interval> ] The full set of characters is only seen when $nanny_details_level is 2. For $nanny_details_level=1 only few major states are distinguished. The character tells what the process was doing during each past elapsed second. When nanny has just been started, it has no knowledge about past events, so it just shows '=' characters in place of more meaningful states. Every 10th character is a colon just to demarkate 10-second ranges. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
