How do I force Flexlm/MLM to re-read the mlm.opt file in Linux?

Under Windows, using lmtool.exe, I have the option of making the license manager re-read the license file. How can I do this under Linux? I'd prefer not to risk a total restart of the license manager as my users have long-running jobs that might not enjoy losing access to the license manager, even temporarily.
Many services will re-read their config files when sent a signal (e.g. pkill -USR1 ${process_name}). Does the Matlab license manager in Linux support this and, if so, what is the correct "signal" to send (signals USR1 and HUP are common)?

1 件のコメント

Ori
Ori 2015 年 11 月 3 日
Hi Randy.
I know this is a a bit old, but I'll answer about lmrereading for posterity. Linux lmutil should have the lmreread capability just as in windows. Please try:
./lmutil lmreread -c my_license file
All the best,

サインインしてコメントする。

回答 (1 件)

chen
chen 2014 年 3 月 10 日

0 投票

Hi Randy
Use the lmutil command: e.g ./lmutil lmreread -c my_license file
Chen Shifrin Openlm.com

1 件のコメント

Randy Zagar
Randy Zagar 2014 年 3 月 10 日
I've tried this, but it doesn't seem to affect the MLM license agent. I've had to modify my mlm.opt file and need it to re-read the network named users and groups without interfering with currently checked-out licenses.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeManage Products についてさらに検索

製品

タグ

質問済み:

2014 年 3 月 6 日

コメント済み:

Ori
2015 年 11 月 3 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by