Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       mailstats(1M_BSD)    (BSD System Compatibility)    mailstats(1M_BSD)


       NAME
             mailstats - (BSD) print statistics collected by sendmail

       SYNOPSIS
             /usr/ucb/mailstats [filename]

       DESCRIPTION
             mailstats prints out the statistics collected by the sendmail
             program on mailer usage.  These statistics are collected by
             default in /usr/ucblib/sendmail.st unless the S configuration
             option of sendmail or in sendmail.cf was used to create a
             different file.

             If a different file was used, you must provide filename when
             issuing mailstats.

             mailstats first prints the time that the statistics file was
             created and the last time it was modified.  It will then print
             a table with one row for each mailer as specified in the
             configuration file.  The first column is the mailer number,
             followed by the symbolic name of the mailer.  The next two
             columns refer to the number of messages received by sendmail,
             and the last two columns refer to messages sent by sendmail.
             The number of messages and their total size (in 1024 byte
             units) is given.  No numbers are printed if no messages were
             sent (or received) for any mailer.

             You might want to add an entry to /var/spool/cron/crontab/root
             to reinitialize the statistics file once a night.  Copy
             /dev/null into the statistics file or otherwise truncate it to
             reset the counters.

       FILES
             /usr/ucblib/sendmail.st             default statistics file
             /etc/ucbmail/sendmail.cf            sendmail configuration
                                                 file
             /var/spool/cron/crontab/root

       SEE ALSO
             sendmail(1M_BSD)

       NOTICES
             mailstats should read the configuration file instead of having
             a hard-wired table mapping mailer numbers to names.




                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026