1 Overview
  This help file describes the functions and requirements for using
this System Managers Menu.  This system provides access to often used
system management functions and to several useful command procedures.
The features of this system include:

  o Options may be selected from the menu, or as parameter P1.

  o If another command procedure is called by MANAGER.COM then
    parameters P2 thru P8 are passed to this procedure as
    parameters P1 thru P7.

  o To select an option, only enough characters to make an option
    unique are required.

  o For options that need more than NORMAL privileges, an attempt is
    made to turn on the need privileges.  If this attemp fails the
    user is told so and the procedure exists.  Otherwise the selected
    option is carried out.

  o On exit from MANAGER.COM, the users Privileges, Default directory,
    Message format, and Keypad state are all returned to the way they
    where before MANAGER.COM was executed.

  o The command files are designed so that they can be used
    independently of MANAGER.COM.

  o The command files will work on both video and hardcopy terminals
    On video terminals various things such as bolding, reverse video,
    etc. are used.

  o Help is provided on using the system.
1 HELP
  The HELP option is provided to assist the user in using this system.
The HELP option uses the VMS HELP facility and can be accessed as
follows:

  o Entering 'HELP' at the selection prompt.

  o On video terminals pressing either the PF2 or HELP keys.
1 OPTIONS
  There are currently 23 options available with MANAGER.COM.  Several
of these will not be useful at all sites because they deal with the
Network, Clusters, or Optional layered products, therefore these options
are marked with a plus sign.
2 ACMS+
  This option is only available if you have the layered product ACMS,
Application Control and Management System.  It provides another menu
of ACMS tasks and options.  Most of the options just provide easy
access to various ACMS utilities.

  The USERS option displays information from the command:

          $ ACMS/SHOW USER/FULL

in tabular form.  An additional item of information displayed is if the
ACMS user has a process or not.  If the user has a process then the code
letter P is output.  Check the command procedure SHOW_ACMS_USERS.COM for
more detailed information.
2 ALIAS
  This option uses a combination of the DIRECTORY command, the SORT
utility, and DCL to find files with an alias.  This is especially
useful, at least until VMS V5.0 when DEC fixes this problem, on
clusters.  A file is generated that groups aliased files together.
2 AUDIT
  This option tries to turn on the needed privilege(s), then executes
the DCL command:

    $ SHOW AUDIT

This displays which security alarms are currently enabled.

  Privilege(s) Needed: SECURITY
3 EXAMPLE
$ MAN AUDIT

          SHOW AUDIT

Security alarms currently enabled for:
    ACL
    AUTHORIZATION
    AUDIT
    BREAKIN:    (DIALUP,LOCAL,REMOTE,NETWORK,DETACHED)
    LOGFAILURE: (BATCH,DIALUP,LOCAL,REMOTE,NETWORK,SUBPROCESS,DETACHED)
    FILE_ACCESS:
        BYPASS:    (READ,WRITE,EXECUTE,DELETE,CONTROL)
2 AUTHORIZE
  This option gives the user access to the Authorize utility.  The needed
privileges are turned on and the users default directory is changed to
SYS$SYSTEM.  After exiting AUTHORIZE the users enabled privileges and
default directory are returned to those in place before taking this option.

  Privilege(s) Needed: BYPASS, or
                       SYSPRV, or
                       Access to SYSUAF.DAT
2 DEL_INTRUSION
  This option tries to turn on the needed privilege(s), then executes
the DCL command:

    $ DELETE/INTRUSION_RECORD source.

This command removes a record from the breakin database.

  Privilege(s) Needed: SECURITY
3 EXAMPLE
$ MAN DEL_INTRUSION

          Delete an Intrusion Record

Intrusion       Type       Count  Expiration   Source
   TERMINAL     SUSPECT       2   16:51:55.49
   TERM_USER    INTRUDER      3   17:19:42.19  DEMO

_Intruder: DEMO
$
$ MAN INTRUSION

          SHOW INTRUSION

Intrusion       Type       Count  Expiration   Source
   TERMINAL     SUSPECT       2   16:51:55.49
2 DISKQUOTA
  This option tries to turn on the needed privilege(s), then runs the
DISKQUOTA utility.  After exiting DISKQUOTA the users enabled privileges
are returned to those in place before taking this option.

  Privilege(s) Needed: BYPASS, or
                       SYSPRV, or
                       Access to the QUOTA.SYS file to be used.
2 DTSEND+
  If the system is part of a Network then this option allows the user to
enter the DTSEND, DECnet Test Sender Utility.
2 ERROR_LOG
  This option gives the user easy access to Error Log reports.  Reports
can be generated for all errors, all disks, all tapes, CPU entires, or
a specific device.  Also beginning and ending times, and full or brief
formats can be specified.
2 FAULTING
  This option executes a DCL command procedure that monitors the page
faulting of a process.
2 FID
  This option can be used to dump a file header from the INDEXF.SYS
file when only the File IDentification (FID) number of a file is known.

  This is done using the DUMP/FILE_HEADER command.  The block that
contains the file header for a given file can be computed as follows:

      X = FID + F$INTEGER(MAXFILES / 4096) + (CLUSTER * 4) + 1

where FID is the first number of a files File ID Number,
      MAXFILES is the maximum number of files for the disk, and
      CLUSTER is the cluster size of the disk.
2 FRAG
  With this option the user can determine how fragmented a file is.
This is done by dumping file headers and counting retrieval pointers.

  This procedure excepts two parameters.  P1 is the file to check for
fragmentation, note that wild cards are accepted.  The second parameter
determines the format of the output.  If P2 is not provided then full
output is displayed for each file.  If P2 is the keyword TABLE then
the information is displayed in tabular form.  The other keyword is SAVE
which displays information in tabular form but also creates a file with
this information called FRAG.DTA.
3 Full_Example

--------------------- RWK:[COMMAND.MANAGER]MANAGER.HLP;16 ---------------------

        Dumping the file header to DUMP.TEMP  ...

        Scanning the file header for
          File: RWK:[COMMAND.MANAGER]MANAGER.HLP;16
  
        Count:         18        LBN:       3141
        Count:          3        LBN:       3162

          Blocks used:                  20
          Blocks allocated:             21

          Number of Extents:             2
          Number of File Headers:        1

          Ave Blocks/Extent:            10.5
3 Table_Example
                                       # of  # of   Blocks/
     File Name             Blocks      Exts  Hdrs     Ext
--------------------- --------------- ------ ---- ----------
ACMS_MANAGER.COM;1        15/15           2    1       7.5
ALIAS.COM;6               17/18           1    1      18.0
FID.COM;1                  7/9            1    1       9.0
FRAG.COM;6                21/21           2    1      10.5
IO.COM;1                  11/12           2    1       6.0
LOCAL_DCL.COM;1            9/9            1    1       9.0
MANAGER.COM;19            60/60           4    1      15.0
MOVE_JOB.COM;1             8/9            1    1       9.0
PAGE.COM;1                 8/9            1    1       9.0
QUEUE.COM;2                7/9            1    1       9.0
REMOTE_DCL.COM;1           2/3            1    1       3.0
SHOW_ACMS_USERS.COM;1      8/9            1    1       9.0
UTILITIES_HELP.COM;15     11/12           1    1      12.0

2 HSC+
  On system that are clustered, this option provides access to an HSC
using the SET HOST/HSC command.  The user must have the DIAGNOSE privilege
and a special device driver must be installed.  To install this driver
put the following in the system startup command file:

$!
$!		Connect the Diagnostic and Utilities Protocol (DUP) driver.
$!		This driver is associated with the CI and is needed for the
$!		SET HOST/HSC command.
$!
$	RUN SYS$SYSTEM:SYSGEN
CONNECT FYA0/NOADAPTER

2 INSTALL
  This option gives the user access to the Install utility.  The needed
privileges are turned on before Install is executed.  The install utility
in run with the /COMMAND qualifier.  After exiting Install the users enabled
privileges are returned to those in place before taking this option.
                  
  Privilege(s) Needed: CMKRNL
2 INTRUSION
  This option tries to turn on the needed privilege(s), then executes
the DCL command:

    $ SHOW INTRUSION.

This command displays the contents of the breakin database.

  Privilege(s) Needed: SECURITY
3 EXAMPLE
$ MAN INTRUSION

          SHOW INTRUSION

Intrusion       Type       Count  Expiration   Source
   TERMINAL     SUSPECT       2   16:51:55.49
   TERM_USER    INTRUDER      3   17:19:42.19  DEMO
2 IO
  This option executes a DCL command procedure that monitors the IO
activity of a process.
2 LOCAL_DCL+
  This options provide the ability to do commands on another node of
the cluster.  The REMOTE_DCL.COM command procedure must be located in
either the DECNET account or the users SYS$LOGIN directory.  If this
procedure is located in the SYS$LOGIN directory then the user will need
to have a proxy account to access each node.
2 MOVE_BATCH
  This option facilitates moving batch jobs between queues.
2 MOVE_PRINT
  This option facilitates moving print jobs between queues.
2 PARAMETERS
  This option allows the user to display the SYSGEN parameters.  The
parameters can be display on the terminal or output to a file.  If they
are output to a file the user is given the option of sorting them.
2 QUEUE
  This option calls the QUEUE.COM to provide easy starting or stopping
of queues on the system.  The user has the option of what queues to
start or stop, ALL, BATCH, or DEVICE.
2 SDA
  This option tries to turn on the needed privilege(s), then runs the
System Dump Analyzer.  After exiting SYSGEN the users enabled privileges
are returned to those in place before taking this option.

  Privilege(s) Needed: CMKRNL
2 SHCNT
  This option allows a command to be done continuously every X seconds,
where x is between 1 and 59.  After each execution of the command the
cursor is set to the home position.  This provides the appearance of a
"MONITOR" like function.
2 SYSGEN
  This option tries to turn on the needed privilege(s), then runs the
SYSGEN utility.  After exiting SYSGEN the users enabled privileges are
returned to those in place before taking this option.

  Privilege(s) Needed: CMKRNL
2 UTIL_HELP
  This command procedure provides easy access to all of the help
libraries in SYS$HELP.  A list of these help libraries is displayed
and the user enters the number of the one they wish to look at.  The
user should enter 0 to exit.
1 SETUP
  To use this system all of the files used, currently about 15, need to
reside in the same directory.  The main file is MANAGER.COM.  A symbol,
such as the following, should be defined to execute MANAGER.COM.

     MAN*AGER :== @disk:[directory]MANAGER.COM

The command files that are optional executed by MANAGER.COM are:

  o ACMS_MANAGER.COM
  o ALIAS.COM
  o FID.COM
  o FRAG.COM
  o IO.COM
  o LOCAL_DCL.COM
  o MANAGER.COM
  o MOVE_JOB.COM
  o PAGE.COM
  o QUEUE.COM
  o REMOTE_DCL.COM
  o SHOW_ACMS_USERS.COM
  o UTILITIES_HELP.COM

Also used by MANAGER.COM are the following two files which are used
for HELP.

  o MANAGER.HLB
  o MANAGER.HLP
