ftlm_parse_debuglog
Parses and loads denials, and optionally checkouts, found in a FlexNet debug log.
If TIMESTAMP lines are not included in the log file, either the -initialday argument must be used, or the debug log file name must include the starting date in the format of YYYYMMDD or YYYY.MM.DD. For parsing debug logs from triads, use the -host option to denote the server from which the data originates.
ftlm_parse_debuglog: Usage Message
SYNOPSIS:
Parses and loads denials, and optionally checkouts, found in a FLEXlm
debug log. If TIMESTAMP lines are not included in the log file, either the
-initialday argument must be used, or the debug log file name must include
the starting date in the format of YYYYMMDD or YYYY.MM.DD. For parsing
debug logs from triads, use the -host option to denote the server from
which the data originates.
USAGE:
% ftlm_parse_debuglog <ARGUMENTS> [OPTIONS]
ARGUMENTS:
-dir <dir> -- Directory that contains debug logs to parse.
Only files named with the format of debug.
YYYYMMDD are parsed.
-f <file> -- Specific log file to parse. Ignored if -dir is
passed. On Windows, use / for the path delimiter
and // before each space if there are spaces in
the path.
-h -- Show help message.
OPTIONS:
-initialday <date> -- Specify initial date in MM/DD/YYYY format.
Required if log file was created with options
file, or if log lacks an initial TIMESTAMP
statement.
-host <host> -- Name of license server host. If parsing debug
logs from triads, use this option to denote the
server from which the data originates.
Default: master.
-tag <tag> -- Tag to be used for data contained in file.
-start <timestamp> -- Ignore all events before this timestamp.
-tz <timezone> -- Set to timezone which was used to generate the
debug log. Ex: PST8PDT. If debug log was
generated in the same timezone as the LM
server, leave blank.
-checkouts -- Parse checkout data in addition to denial data.
-noload -- Do not load parsed data into the database.
-loadonly -- Do not parse debug log for new data, only load
previously parsed data into the database.
-nomerge -- The checkout records are loaded with origin=6,
which means that no merging can be performed.
Note: As no merging algorithm is implemented
for now, so this is equivalent to origin=2
(i.e. logs)
-force -- Reparse data that has been previously parsed.
-q -- Set verbosity to 0.
-v -- Increase verbosity (may be repeated).
EXAMPLES:
% ftlm_parse_debuglog -tag EDA -dir /remote/licenses/logs
% ftlm_parse_debuglog -tag CDN -f debug.log -initialday 07/01/2010
% ftlm_parse_debuglog -tag SNP -f debug.20100701.log -tz EST5EDT
% ftlm_parse_debuglog -tag MGC -f debug.log -checkouts -tz UTC-8