The -bP command-line switch causes sendmail to print the number of messages currently queued and then exit. See Section 11.6.2 for a full description of how to use this command-line switch.