
Common Configuration
# P0602477 Ver: 3.1.11 Page 205
Command Line Interface
As discussed earlier, alarm filtering can be invoked upon system startup by specifying
the necessary arguments in the alarmd.cfg or alarmf.cfg file (see The
alarmd.cfg and alarmf.cfg Files on page 99). Filtering can also be invoked
from the VSH command line of the common component for that node. This includes
configuration, maintenance, and monitoring of the filtering aspects of the daemons. In
addition, since only one filter set at a time can be active per daemon, and there may be
instances where a different filter set needs to be invoked while the system is running,
filters can be cleared and changes made from this interface.
The following table presents the command line options available for alarmd and
alarmf filtering capabilities (and where alarm* indicates either daemon):
Command Description Available to
addflt Loads or reloads a new or modified filter set and
activates it. If this command is used while another
filter set is already active, the new command loads
that filter file in place of the existing one.
Both
alarm* addflt <filter_set>
clearflt Disables the previously loaded filter set. Use this
command to halt specified alarm filtering or before
loading a different filter set
Both
alarm* clearflt <filter_set>
status Shows the current status of the daemon, including
whether alarm filter sets and logging are enabled,
and which viewers are attached.
Both
alarm* status
lsize Specifies the size of the log file in kilobytes. The
default size is 100K; the minimum value this can be
set to is 1K.
alarmd
The maximum size the log file can be set to is
exceedingly large. Take care not to use up system
resources and space by setting this value too high.
alarmd lsize <nnn>
where <nnn> is the number, in kilobytes, of the size of the log file.
nolog Turns alarm logging for a specific component on or
off.
alarmd
alarmd < <no>log > <comp_type.number>
where <nolog> turns logging off for the component type (<comp_type>) and <number>
specfied in the command, and where <log> turns it back on.
Comentários a estes Manuais