Files – HP R4.2 User Manual

Page 560

Advertising
background image

A

Summary of Commands

logDstPri

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 521

After changing the rules file, it is recommended that the rules be checked
before they are put into service. The

-c

flag causes logDstPri to read the

rules file and report any rules that are misformatted or not understood. The
return value from logDstPri

is the number of errors detected.

To see the error complaints and install the rules all at once, specify the

-v

flag. This causes the verbose complaints to be generated. The

-c

flag implies

the

-v

flag.

When logDstPri is resetting the values in shared memory, as opposed to
creating the shared memory for the first time, it can be requested to delete
the old shared memory and create a new segment by specifying the

-d

flag.

Do not use the

-d

flag on a running system because any process that is

already using the old shared memory continues to use it even after it is
“deleted.” This means that two different rules files might be in force at the
same time. It may be necessary to specify the

-d

flag if a large number of new

messages have been added to the rules file. Currently, logDstPri creates the
shared memory 200 entries larger than the highest logging message index
found in its rule file. This means that as long and the new rules file does not
go beyond 200 entries higher than the current highest entry, everything is
okay. The number of extra entries can be altered by specifying the

-x

option.

Files

${LOGROOT}

Default is /usr/spool/log

${LOGROOT}/msgDst.rules

The message priority and destination file

${LOGROOT}/head/*.h

Header files used by the logging system

Advertising