HELPLIB.HLB  —  PMDF  QM  Maintenance Mode Commands
specify which frequently occurring fields should be displayed. By default, only Subject: fields are shown (/SUBJECT). Use /ENV_FROM to display frequent envelope From: fields or /CONTENT to display frequent message contents. Any combination of /CONTENT, /ENV_ FROM, and /SUBJECT may be specified. However, only one of each may be used. The /CONTENT, /ENV_FROM, and /SUBJECT qualifiers accept the optional qualifiers START=n and LENGTH=n. These qualifiers indicate the starting offset and number of bytes in the field to consider. The defaults are /CONTENT=(START=1,LENGTH=256), /ENV_FROM=(START=1,LENGTH=2147483647), and /SUBJECT=(START=1,LENGTH=2147483647). Use of these qualifiers is useful when, for example, trying to identify occurrences of a spam message which uses random text at the start of the Subject: line.

18.3.2    /DATABASE

       /DATABASE
       /DIRECTORY_TREE

    Controls whether the message files scanned are only those with
    entries in the queue cache database, /DATABASE, or all message
    files actually present in the channel queue directory tree,
    /DIRECTORY_TREE.

    When neither /DATABASE nor /DIRECTORY_TREE is specified, then the
    "view" selected with the VIEW command will be used. If no VIEW
    command has been issued, then /DIRECTORY_TREE is assumed.

18.3.3    /MIN_COUNT

       /MIN_COUNT=n

    By default, a string must occur at least 2 times, /MIN_COUNT=2,
    in order to be displayed.

18.3.4    /THREADS

       /THREADS=n
       /NOTHREADS (default)

    The /THREADS qualifier may be used to accelerate searching on
    multiprocessor systems by dividing the work amongst multiple,
    simultaneously running threads. To run n simultaneous searching
    threads, specify /THREADS=n. The value n must be an integer in
    the range 1-8. The default is /NOTHREADS.

18.3.5    /TOP

       /TOP=n

    By default, the top 20 most frequently occurring fields are
    shown, (/TOP=20).

18.3.6    /VERBOSE

       /VERBOSE
       /NOVERBOSE (default)

    The /VERBOSE qualifier may be used to request that the utility
    print out information about what it is doing as it operates.

18.4  –  Examples

      The following example shows displaying the most frequently
      occurring Subject: and envelope From: addresses amongst
      messages in the PMDF queue area.

 qm.maint> TOP/SUBJECT/ENV_FROM
 %QM-I-QCLISTING, building a list of message files to scan from the queue cache
 %QM-I-SCANNING, scanning 73 message files
 %QM-I-SCANNED, scanned 73 message files in 0.5600 seconds (130.36 messages/secon
 d)
 Top 20 Envelope From: addresses which occur 2 or more times
  Count  Envelope From: address
     27
     10  owner-ex-list@example.com
      2  owner-test-list@example.com

 Top 20 Subject: header lines which occur 2 or more times
  Count  Subject
      6  Re: your ex-list posting
      2  Test posting to test-list

      The following example shows displaying the most frequently
      occuring Subject: lines that occur 20 times or more, starting
      from 12 characters into the Subject: header value. This may be
      useful when trying to spot spam that inserts random characters
      at the beginning of the Subject: header value.

 qm.maint> TOP/SUBJECT=START=12/MIN_COUNT=15
 %QM-I-QCLISTING, building a list of message files to scan from the queue cache
 %QM-I-SCANNING, scanning 73 message files
 %QM-I-SCANNED, scanned 73 message files in 0.5600 seconds (130.36 messages/secon
 d)
 Top 20 Subject: header lines which occur 15 or more times
  Count  Subject
     25  ake money fast $$$

19  –  VIEW

    Control whether the DIRECTORY command shows the channel queue
    directory tree or the queue cache database.

    Syntax

      VIEW  type

    Command Qualifiers    Defaults

    None.                 None.

19.1  –  Parameters

 type

    The type of view to use: DIRECTORY_TREE or DATABASE

19.2  –  Description

    The DIRECTORY command produces its listing by looking at either
    the actual channel queue directory tree on disk, or by looking
    at the queue cache database. The VIEW command controls which is
    used. By default, the view is the channel queue directory tree.
    Issue the command,

    qm.maint> VIEW DATABASE
    qm.maint>

    to switch to viewing the queue cache database. The command

    qm.maint> VIEW DIRECTORY_TREE
    qm.maint>

    will switch you back to viewing the channel queue directory tree.
    Issuing the VIEW command without any parameter will restore the
    default behavior and is thus equivalent to the VIEW DIRECTORY_
    TREE command.
Close Help