FLEXlm Utilities
70
2-Tier Installation
lmswitchr
Switches the FLEXadmin log file (REPORTLOG) for the specified feature
lmswitchr [
feature
] [
new-file
]
Any
feature
this daemon supports.
New file pathname.
The FLEXlm daemons create an ASCII log file on
stdout
. There are several pro-
cesses in a parent-child hierarchy which share the same file pointer, so this log file
cannot be changed after the vendor daemons have been started, since each process
has a copy of the current offset, etc.
There is another way to switch the log file output data; however, this involves
piping the
stdout
of
lmgrd
to a shell script that appends a file for each line.
Instead of the “normal” startup:
% lmgrd > LOG
Start
lmgrd
this way:
% lmgrd –z | sh –c ’while read line; do echo “$line” >> LOG;
done’
For more information on the log file, refer to page 60 for a description of
REPORTLOG.
feature
new-file
Description