HP OpenVMS Systems

ask the wizard
Content starts here

OPERATOR.LOG Timestamp (flush) interval?

» close window

The Question is:

Dear Wizard,
is it possible to change the time stamp interval (default = one hour) of the
 OPERATOR.LOG ? Looking at SET AUDIT command,
it sounds like one cannot. Did i miss something ?
Thanks in advance

The Answer is :

  The timestamp internal mechanism is not adjustable.
  The OPCOM process generates an internal time stamp every 5 minutes.
  Every 12th occurance of the internal time stamp is written to the
  OPERATOR.LOG file.  Both of these values are hard-coded.
  If you want more frequent timestamps, you can generate your own
  timestamps using using the REQUEST command.  A batch or detached
  process easily could issue this command at whatever interval(s)
  you desire.  A simple example:
    $ request "Timestamp"
    $ wait 00:00:10
    $ goto loop
    $ exit
  This DCL procedure would produce an entry in OPERATOR.LOG every ten
  (10) seconds.  These messages will also be displayed on each enabled
  operator terminal.
  You might want to use the REQUEST/TO= qualifier to direct the REQUEST
  messages to an operator class that is explicitly disabled at your site.
  This avoids the display of the messages at operator-enabled terminals.
  Please see HELP for REPLY/DISABLE for more details.
  Note that OPERATOR.LOG messages are buffered within the OPCOM process.
  Thus your messages may not actually appear in the log file until the
  next five (5) minute (internal) time stamp occurs.

answer written or last revised on ( 13-AUG-2002 )

» close window