<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
OK, not about how to configure Flexlm, need a warning that as the
script stand now might not work as is; that is might not find the
license.dat file. You're right not hard  to find it and you'll be
getting error on running your script, that can't find license.dat .  
So user might have to  add -c .<br>
<br>
<pre wrap="">Trying to understand what this does.
For MatLab host in bb-host:
"10.0.0.10 host.matlab.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " 
Gives graph flexlm and graph flexml1 ?

For Maple host in bb-host:
"10.0.0.111 host.maple.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " 
while this gives only graph flexlm2 ?
</pre>
Is that correct?<br>
<br>
I think Ive TOO many license servers to create graphs for ; 31 but 3
are MATLAB so I'll haves graph for<br>
thank to you and your fine work  <span class="moz-smiley-s1"><span>
:-)  </span></span>! Plus I don't (and can't) have hobbit clients on
mant of them.<br>
I was plannning on "pulling" the  from  non-hobbit clients with lines
in your script like.<br>
<pre wrap="">/wherethelmstatis -a -c 22777@mobile2  (my  mathlab host which doesn't have a hobbit client) </pre>
  Ive not worked out how I'm going to cycle through some 30 hosts yet!<br>
<br>
I'm going to bring up you script tomorrow just for one matlab host . So
then i'll how it works<br>
<br>
You don't (at least on the hobbit server) have do for example<br>
<pre class="code">$BB $BBDISP "status $MACHINE.ccl $COLOUR `date` $SSTATUS
 you can do:
$BB $BBDISP "status licenses.ccl $COLOUR `date` $SSTATUS 
</pre>
And define in bb-hosts:<br>
<pre class="code">0.0.0.0 licenses# noconn 
</pre>
This is where the ccl dot will appear, instead of under $MACHINE
<br>
This is what Ive done for my clearcase script (ccl), which I hope to
post to the Shire today.<br>
But my clearcase script  running on my hobbit server so I cannot tell
you for sure if this trick works when<br>
you have client side scripts.<br>
<br>
We now use custom scripts  which run every 15 minutes. Produces a html
table with the current use,<br>
last week, last 4 weeks, last 8 weeks, and last 12 weeks<br>
No graphs and no warning if a license is not running except there no
data under current use.<br>
<br>
Thank again for you help and flexlm script.  Got me thinking of how to
replace our current system.<br>
<br>
Anna Jonna Armannsdottir wrote:
<blockquote cite="mid:1215597865.10906.38.camel@brick.rhi.hi.is"
 type="cite">
  <pre wrap="">On þri, 2008-07-08 at 07:33 -0400, michael nemeth wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">What I meant; same script but  for the "magic"  LMSTATDIR=  line

Also, while I can get what you did to work for me easy,  looks like
your
"set-up" is different than mine I have to do /wherethelmstatis -a
-c /wherethelicensefile is.
I THINK I remember you can set wherethelicensefile  in and
environmental variable .
so this becomes /wherethelmstatis -a
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I am not an expert on the Flex License Manager, so my 
answers are not complete. I have tested this on 3 license 
servers, Red Hat 4, Red Hat 5, and Solaris 9. All have different 
license manager configurations, but the flexlm Hobbit module 
works with all of them just out of the box, but that is probably 
du to the fact that it is the same person administrating them. 

Anyway, the lmstat program in 2 of those installations, is in the 
same directory as the license file. In the third installation it 
is in an environment variable. In all cases the Flex LM programs, 
can easily find the license file. 
In all cases the user only has to change the path to the lmstat 
command. 
I feel we are approaching the topic "HOWTO configure Flex License
Manager", and that is not my area. 
  </pre>
</blockquote>
<blockquote cite="mid:1215597865.10906.38.camel@brick.rhi.hi.is"
 type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">Actually what I use is: /wherethelmstatis -a -c port@system that is:
wherethelmstatis -a -c 22777@mobile2  (my  mathlab host) 
Which is nice for me since I can "contact" different license server
from one host! 
    </pre>
  </blockquote>
  <pre wrap=""><!----> <just touching the HOWTO topic>
To get commication with the license manager through lmstat you 
need to specify -c license.txt 
This file contains the SERVER line from the license file. 

  </pre>
  <blockquote type="cite">
    <pre wrap="">If your lmstat returns Licence server Status: 22777@mobile2
(mine returns License server Status:
<a class="moz-txt-link-abbreviated" href="mailto:22777@mobile2.22777@ntw,22777@sectcfs1">22777@mobile2.22777@ntw,22777@sectcfs1</a> ;
hope this isn't going to be a problem)
    </pre>
  </blockquote>
  <pre wrap=""><!---->Try it and return with the results. :) 

  </pre>
  <blockquote type="cite">
    <pre wrap="">Also:
"10.0.0.10 host.example.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|
flexlm3 " 
Is it true that on the matlab host you get just the flexlm and flexlm1
while on the maple host you only get
    </pre>
  </blockquote>
  <pre wrap=""><!---->?

  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm being very inquisitive because Im planning on post in my
clearcasse and mutlisite scripts
soon (don't use flexlm)and want to make sure I handle issues and am
using you script and post as an example. 
    </pre>
  </blockquote>
  <pre wrap=""><!---->OK

  </pre>
  <blockquote type="cite">
    <pre wrap="">Aslo I may adapt to script to work like my clearcasse and mutlisite
scripts;
they run on my hobbit server since the clearlicense will return the
info from where the
license server running and I put the info in a pseudo host 0.0.0.0
licenses .
    </pre>
  </blockquote>
  <pre wrap=""><!---->I am trying hard to guess, at what you are talking about. 

  </pre>
  <blockquote type="cite">
    <pre wrap="">I might what to do that with the flexlm too, so want to understand it
well!
I might not since I've 30 different instances of  flexlm !
    </pre>
  </blockquote>
  <pre wrap=""><!---->And what are you using to monitor them now? 

  </pre>
</blockquote>
<br>
</body>
</html>