<!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">
What I meant; same script but  for the "magic"  LMSTATDIR=  line<br>
<br>
Also, while I can get what you did to work for me easy,  looks like your<br>
"set-up" is different than mine I have to do /wherethelmstatis -a -c
/wherethelicensefile is.<br>
I THINK I remember you can set wherethelicensefile  in and
environmental variable .<br>
so this becomes /wherethelmstatis -a<br>
<br>
Actually what I use is: /wherethelmstatis -a -c port@system that is:<br>
wherethelmstatis -a -c 22777@mobile2  (my  mathlab host) <br>
Which is nice for me since I can "contact" different license server
from one host!<br>
If your lmstat returns Licence server Status: 22777@mobile2<br>
(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> ;<br>
hope this isn't going to be a problem)<br>
Also:<br>
"10.0.0.10 host.example.net #
TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 "<br>
<pre class="code">Is it true that on the matlab host you get just the flexlm and flexlm1
while on the maple host you only get
</pre>
I'm being very inquisitive because Im planning on post in my clearcasse
and mutlisite scripts<br>
soon (don't use flexlm)and want to make sure I handle issues and am
using you script and post as an example. <br>
<br>
Aslo I may adapt to script to work like my clearcasse and mutlisite
scripts;<br>
they run on my hobbit server since the clearlicense will return the
info from where the<br>
license server running and I put the info in a pseudo host 0.0.0.0
licenses .<br>
I might what to do that with the flexlm too, so want to understand it
well!<br>
I might not since I've 30 different instances of  flexlm !<br>
<br>
Anna Jonna Armannsdottir wrote:
<blockquote cite="mid:1215456843.9120.429.camel@brick.rhi.hi.is"
 type="cite">
  <pre wrap="">On mán, 2008-07-07 at 14:02 -0400, michael nemeth wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Looked at this on the Shire.  Am I correct ,you run a different client
script on each of the 
license servers for : Matlab, Abacus, Maple where  LMSTATDIR=
is set to a different directory?  That is like:  
/opt/matlab/etc and/or /opt/maple/where-ever?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It is the same client script (flexlm.sh) that is run 
for all types. Even if there are multiple servers 
running on a machine it copes with that. 
The magic lies in the license file in e.g. /opt/matlab/etc 
or whereever it is. 
I forgot to mention that the trick is to find the directory where 
the license file and the lmstat program, reside. 

So if the license file contains information about hostnames 
and portnumbers for multiple license managers, the flexlm 
Hobbit Monitor module will display it all. 

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