<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163263</link>
    <title>MATLAB Central Newsreader - flexlm log file</title>
    <description>Feed for thread: flexlm log file</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 06 Feb 2008 14:29:11 -0500</pubDate>
      <title>flexlm log file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163263#413286</link>
      <author>Matt Cook</author>
      <description>Does anyone know of, or has written, a script to analyse a &lt;br&gt;
flexlm log file? &lt;br&gt;
&lt;br&gt;
I believe there are some 3rd parts tools around but they &lt;br&gt;
are quite expensive. I think it would be nice to have a m-&lt;br&gt;
file that reads and analyses the data from a flexlm log &lt;br&gt;
file and then presents it in a more meaningful manner.&lt;br&gt;
&lt;br&gt;
Thanks ... Matt</description>
    </item>
    <item>
      <pubDate>Tue, 13 Jan 2009 16:44:02 -0500</pubDate>
      <title>Re: flexlm log file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163263#621280</link>
      <author>Rob </author>
      <description>Hi Matt, did you manage to find anything to do this in teh end, would be really usefull...&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
Rob.&lt;br&gt;
&lt;br&gt;
&quot;Matt Cook&quot; &amp;lt;matt.cook@jcb.com&amp;gt; wrote in message &amp;lt;focg7n$tg$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Does anyone know of, or has written, a script to analyse a &lt;br&gt;
&amp;gt; flexlm log file? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I believe there are some 3rd parts tools around but they &lt;br&gt;
&amp;gt; are quite expensive. I think it would be nice to have a m-&lt;br&gt;
&amp;gt; file that reads and analyses the data from a flexlm log &lt;br&gt;
&amp;gt; file and then presents it in a more meaningful manner.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks ... Matt</description>
    </item>
    <item>
      <pubDate>Tue, 13 Jan 2009 17:30:05 -0500</pubDate>
      <title>Re: flexlm log file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163263#621296</link>
      <author>tristram.scott@ntlworld.com (Tristram Scott)</author>
      <description>Rob  &amp;lt;rmahon_spam@jaguar.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hi Matt, did you manage to find anything to do this in teh end, would be&lt;br&gt;
&amp;gt; really usefull...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Rob.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Matt Cook&quot; &amp;lt;matt.cook@jcb.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;focg7n$tg$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt;&amp;gt; Does anyone know of, or has written, a script to analyse a &lt;br&gt;
&amp;gt;&amp;gt; flexlm log file? &lt;br&gt;
&amp;gt;&amp;gt; &lt;br&gt;
&amp;gt;&amp;gt; I believe there are some 3rd parts tools around but they &lt;br&gt;
&amp;gt;&amp;gt; are quite expensive. I think it would be nice to have a m-&lt;br&gt;
&amp;gt;&amp;gt; file that reads and analyses the data from a flexlm log &lt;br&gt;
&amp;gt;&amp;gt; file and then presents it in a more meaningful manner.&lt;br&gt;
&amp;gt;&amp;gt; &lt;br&gt;
&amp;gt;&amp;gt; Thanks ... Matt&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Do you mean that nice log file with the following header:&lt;br&gt;
&lt;br&gt;
15:21:22 (lmgrd)   Please Note:&lt;br&gt;
15:21:22 (lmgrd) &lt;br&gt;
15:21:22 (lmgrd)   This log is intended for debug purposes only.&lt;br&gt;
15:21:22 (lmgrd)   In order to capture accurate license&lt;br&gt;
15:21:22 (lmgrd)   usage data into an organized repository,&lt;br&gt;
15:21:22 (lmgrd)   please enable report logging. Use Macrovision's&lt;br&gt;
15:21:22 (lmgrd)   software license administration  solution,&lt;br&gt;
15:21:22 (lmgrd)   FLEXnet Manager, to  readily gain visibility&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
As it says there, and in the end user manual, the log file is just for&lt;br&gt;
debug purposes, and not reliable for accounting or tracking usage.&lt;br&gt;
&lt;br&gt;
chicken 8% grep IN: /var/tmp/flexlog.log | wc -l&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;202&lt;br&gt;
chicken 9% grep OUT /var/tmp/flexlog.log | wc -l&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;195&lt;br&gt;
chicken 10%&lt;br&gt;
&lt;br&gt;
So I have checked IN 202 features, but only checked OUT 195.  The license&lt;br&gt;
server has been running since the start of October.&lt;br&gt;
&lt;br&gt;
If you can cope with missing OUT or IN lines, then you might make some good&lt;br&gt;
progress by just using grep, then lining the OUT and IN lines up with each&lt;br&gt;
other, but you also need to be aware that there are timestamps but not&lt;br&gt;
datestamps on the OUT and IN lines.  There do tend to be TIMESTAMP lines as&lt;br&gt;
well, but to incorporate those requires a bit more processing.&lt;br&gt;
&lt;br&gt;
Personally, I would probably either do a quick filter with grep, for OUT&lt;br&gt;
and IN lines, then again by user, then shove the results into a couple of&lt;br&gt;
columns in a text editor or spreadsheet, or alternatively write a bit of&lt;br&gt;
code with perl or with awk.  Either perl or awk would be ideal for this&lt;br&gt;
task.&lt;br&gt;
&lt;br&gt;
Whatever you do, though, you will need to be robust against the possibility&lt;br&gt;
of missing data.&lt;br&gt;
&lt;br&gt;
If this is important to you, I suggest you talk to Macrovision about&lt;br&gt;
FLEXnet manager.  Their products don't tend to be cheap, but their&lt;br&gt;
technical support is excellent.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Dr Tristram J. Scott               &lt;br&gt;
Energy Consultant                  </description>
    </item>
    <item>
      <pubDate>Tue, 13 Jan 2009 18:02:02 -0500</pubDate>
      <title>Re: flexlm log file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163263#621306</link>
      <author>Matt Cook</author>
      <description>&quot;Matt Cook&quot; &amp;lt;matt.cook@jcb.com&amp;gt; wrote in message &amp;lt;focg7n$tg$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Does anyone know of, or has written, a script to analyse a &lt;br&gt;
&amp;gt; flexlm log file? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I believe there are some 3rd parts tools around but they &lt;br&gt;
&amp;gt; are quite expensive. I think it would be nice to have a m-&lt;br&gt;
&amp;gt; file that reads and analyses the data from a flexlm log &lt;br&gt;
&amp;gt; file and then presents it in a more meaningful manner.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks ... Matt&lt;br&gt;
&lt;br&gt;
An Update:&lt;br&gt;
Thanks for the replies.&lt;br&gt;
I did manage to write my own script that produced some basic metrics. Basically it looked at just one flexlm managed application and totalled up the number of users and the amount of time each had used it for. I'm happy to post it for others to reference it if may be of use to someone .... but basically it's just reading data in from a text file.&lt;br&gt;
It's also worth remembering that id the flexlm server gets reset/restarted for any reason then the log file is overwritten with a new log (hence losing any old data).&lt;br&gt;
This topic isn't very imortant for me now so I haven't done any work on it for a while, nor am likely to in the near future.&lt;br&gt;
Once again, thanks for the replies ... and my best regards to you ... Matt</description>
    </item>
    <item>
      <pubDate>Tue, 13 Jan 2009 18:38:02 -0500</pubDate>
      <title>Re: flexlm log file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163263#621313</link>
      <author>Steve Amphlett</author>
      <description>&quot;Matt Cook&quot; &amp;lt;matt.cook@jcb.com&amp;gt; wrote in message &amp;lt;gkikuq$pcq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Matt Cook&quot; &amp;lt;matt.cook@jcb.com&amp;gt; wrote in message &amp;lt;focg7n$tg$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Does anyone know of, or has written, a script to analyse a &lt;br&gt;
&amp;gt; &amp;gt; flexlm log file? &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I believe there are some 3rd parts tools around but they &lt;br&gt;
&amp;gt; &amp;gt; are quite expensive. I think it would be nice to have a m-&lt;br&gt;
&amp;gt; &amp;gt; file that reads and analyses the data from a flexlm log &lt;br&gt;
&amp;gt; &amp;gt; file and then presents it in a more meaningful manner.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks ... Matt&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; An Update:&lt;br&gt;
&amp;gt; Thanks for the replies.&lt;br&gt;
&amp;gt; I did manage to write my own script that produced some basic metrics. Basically it looked at just one flexlm managed application and totalled up the number of users and the amount of time each had used it for. I'm happy to post it for others to reference it if may be of use to someone .... but basically it's just reading data in from a text file.&lt;br&gt;
&amp;gt; It's also worth remembering that id the flexlm server gets reset/restarted for any reason then the log file is overwritten with a new log (hence losing any old data).&lt;br&gt;
&amp;gt; This topic isn't very imortant for me now so I haven't done any work on it for a while, nor am likely to in the near future.&lt;br&gt;
&amp;gt; Once again, thanks for the replies ... and my best regards to you ... Matt&lt;br&gt;
&lt;br&gt;
I wrote a C++ program for digesting a FLEXlm log to work out the usage of each feature by each user.  It was an interesting exercise, done in my own time (how else can one earn favour points with the IT dept?).  The FLEX people tell you that this shouldn't be done, but it seems reasonably OK for indication purposes.  I was told that the &quot;official&quot; tool costs loads.&lt;br&gt;
&lt;br&gt;
Word of warning though: Do not write scripts to regularly poke the license manager.  Bad idea.</description>
    </item>
    <item>
      <pubDate>Tue, 17 Nov 2009 16:34:21 -0500</pubDate>
      <title>Re: flexlm log file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163263#695471</link>
      <author>Philipp Feldpausch</author>
      <description>What a intresting thing - I am also intrested in analysis of FlexLM log files!&lt;br&gt;
I found your toppic by accident :-)&lt;br&gt;
One of my scopes are to analyse the deniede-requestes but also to make statistics about feature usage over a certain period&lt;br&gt;
Does anyone could handl me an already existing code (m-file)?&lt;br&gt;
&lt;br&gt;
It would help me a lot.&lt;br&gt;
The other and mybe easy way would be using Excel-Pivot-Tables.&lt;br&gt;
&lt;br&gt;
Thanks for your reply.&lt;br&gt;
&lt;br&gt;
P.</description>
    </item>
  </channel>
</rss>

