Purpose
As a general user or an authorized
user, use the SMSG SMTP command to monitor the status of SMTP.
Format
>>-SMSG--smtp_jobname--+-HElp-----+----------------------------><
+-NUMQueue-+
+-QUeues---+
'-STats----'
Note: The minimum abbreviation for each parameter
is shown in uppercase letters.
Parameters
- HElp
- Provides a list of valid SMTP SMSG commands.
- NUMQueue
- Provides the number of mail messages that are currently queued
in SMTP.
- QUeues
- Provides a list of mail that is queued on the various SMTP mail
processing queues.
- STats
- Provides operating statistics about the SMTP server since the
SMTP server was started.
Examples
System: READY
User: smsg smtp numqueue
System: Msg from SMTP: * Current Number of Mail Messages Queued is 50
The following example shows the output from the SMTP QUEUES command.
- R
- Retry
- A
- Active
- Q
- Pending - waiting for TCP/IP connection
- xxx.xxx.xxx.xxx is the IP address
- 1 is the number of pieces of mail
- HostName.DomainName is the symbolic name
Msg from SMTP: * ----- Mail Queues -----
Msg from SMTP: * Spool Queue: 0
Msg from SMTP: * R: xxx.xxx.xxx.xxx : 1 HostName.DomainName
Msg from SMTP: * Undeliverable Queue: 0
Msg from SMTP: * --- Resolver Queues ---
Msg from SMTP: * Process Queue: 0
Msg from SMTP: * Send Queue: 0
Msg from SMTP: * Wait Queue: 0
Msg from SMTP: * Retry Queue: 0
Msg from SMTP: * Completed Queue: 0
Msg from SMTP: * Error Queue: 0
The following example
shows the output from the SMTP STATS command.
System: READY
User: smsg smtp stats
System: +Msg from SMTP: * Last Up Time: Wed, 28 Jul 93 16:33:32 EST
+Msg from SMTP: * Statistics : 07/28
+Msg from SMTP: * From TCP : 0
+Msg from SMTP: * From Spool : 0
+Msg from SMTP: * BSMTP Logs : 0
+Msg from SMTP: * Error Mail : 0
+Msg from SMTP: * To Local : 0
+Msg from SMTP: * To NJE : 0
+Msg from SMTP: * To TCP : 0
+Msg from SMTP: * Passive Opns: 0
+Msg from SMTP: * Active Opens: 0
+Msg from SMTP: * ----------------------------------------------
+Msg from SMTP: * Highest num queued: 500
+Msg from SMTP: * High reached at: Wed, 28 Jul 93 20:00:00 EST
READY
Field descriptions:
The statistics about SMTP
include:
- The date that SMTP was last started.
- Statistics about mail handled by SMTP over the past four days,
including:
- From TCP
- The number of pieces of mail that arrived over TCP connections
- From Spool
- The number of pieces of mail that arrived from spool (local or
NJE senders)
- BSMTP Logs
- The number of pieces of mail generated in response to requests
to VERBose batch SMTP connections
- Error Mail
- The number of pieces of mail generated to return error mail to
the sender
- To Local
- The number of pieces of mail delivered to local recipients
- To RSCS
- The number of pieces of mail delivered to recipients on the RSCS
network
- To TCP
- The number of pieces of mail delivered to recipients on the TCP/IP
network
- Passive Opns
- The number of TCP connections through which mail was received
- Active Opens
- The number of TCP connections through which mail was delivered
- Highest num queued
- The highest number of messages queued up in SMTP and the time
and date when this occurred
- High reached at
- The time and date when the highest number of messages queued in
SMTP occurred