Re: flexlm log file
- From: tristram.scott@xxxxxxxxxxxx (Tristram Scott)
- Date: Tue, 13 Jan 2009 17:30:05 GMT
Rob <rmahon_spam@xxxxxxxxxx> wrote:
Hi Matt, did you manage to find anything to do this in teh end, would be
really usefull...
Thanks,
Rob.
"Matt Cook" <matt.cook@xxxxxxx> wrote in message
<focg7n$tg$1@xxxxxxxxxxxxxxxxxx>...
Does anyone know of, or has written, a script to analyse a
flexlm log file?
I believe there are some 3rd parts tools around but they
are quite expensive. I think it would be nice to have a m-
file that reads and analyses the data from a flexlm log
file and then presents it in a more meaningful manner.
Thanks ... Matt
Do you mean that nice log file with the following header:
15:21:22 (lmgrd) Please Note:
15:21:22 (lmgrd)
15:21:22 (lmgrd) This log is intended for debug purposes only.
15:21:22 (lmgrd) In order to capture accurate license
15:21:22 (lmgrd) usage data into an organized repository,
15:21:22 (lmgrd) please enable report logging. Use Macrovision's
15:21:22 (lmgrd) software license administration solution,
15:21:22 (lmgrd) FLEXnet Manager, to readily gain visibility
....
As it says there, and in the end user manual, the log file is just for
debug purposes, and not reliable for accounting or tracking usage.
chicken 8% grep IN: /var/tmp/flexlog.log | wc -l
202
chicken 9% grep OUT /var/tmp/flexlog.log | wc -l
195
chicken 10%
So I have checked IN 202 features, but only checked OUT 195. The license
server has been running since the start of October.
If you can cope with missing OUT or IN lines, then you might make some good
progress by just using grep, then lining the OUT and IN lines up with each
other, but you also need to be aware that there are timestamps but not
datestamps on the OUT and IN lines. There do tend to be TIMESTAMP lines as
well, but to incorporate those requires a bit more processing.
Personally, I would probably either do a quick filter with grep, for OUT
and IN lines, then again by user, then shove the results into a couple of
columns in a text editor or spread***, or alternatively write a bit of
code with perl or with awk. Either perl or awk would be ideal for this
task.
Whatever you do, though, you will need to be robust against the possibility
of missing data.
If this is important to you, I suggest you talk to Macrovision about
FLEXnet manager. Their products don't tend to be cheap, but their
technical support is excellent.
--
Dr Tristram J. Scott
Energy Consultant
.
- References:
- Re: flexlm log file
- From: Rob
- Re: flexlm log file
- Prev by Date: Re: Plot ellipse
- Next by Date: Write text file
- Previous by thread: Re: flexlm log file
- Next by thread: Re: flexlm log file
- Index(es):
Loading