
ライセンスサーバにおいて各製品の利用履歴や、現在利用されているライセンスキーなどをどのように確認しますか?
55 views (last 30 days)
Show older comments
MathWorks Support Team
on 24 May 2013
Edited: MathWorks Support Team
on 20 Mar 2023
ライセンスサーバにおいて各製品の利用履歴や、現在利用されているライセンスキーなどをどのように確認しますか?
Accepted Answer
MathWorks Support Team
on 20 Mar 2023
Edited: MathWorks Support Team
on 20 Mar 2023
各製品の利用履歴はライセンスマネージャのログファイルに出力されます。
ログファイルは、プラットフォームによって異なり、以下のディレクトリに保存されています。
Windowsの場合:
<R2010a以前の場合>
$MATLAB\flexlm\lmlog.txt
<R2010b以降の場合>
$MATLAB\etc\win64(win32)\lmlog.txt
UNIX/Linux/Macの場合:
/var/tmp/lm_TMW.log
Windowsのログファイルは、ライセンスマネージャの起動毎に上書きされますのでご注意ください。Windows以外のプラットフォームでは追記されます。
現在利用されているライセンスキーを確認する場合は、次のライセンスマネージャツールを利用します。
(1) Windowsの場合
lmtoolsを利用することで確認できます。
$MATLAB\etc\win64\lmtools.exe を起動
Server Status タブ
Perfom Status Enquiry プッシュボタン

※ $MATLABはMATLABのインストールフォルダを指します。
ご利用のマシン上でFLEXnet/FLEXlmを利用する他のソフトウェアがインストールされている場合には、上記の方法ではMATLABのライセンスマネージャを参照しない場合があります。その際には、コマンドプロンプト(cmd.exe)より次を実行します。
cd $MATLAB\flexlm
lmutil lmstat -a -c license.dat
(2) UNIX/Linux/Macの場合次を実行します。
$MATLAB/etc/lmstat -a
下記はログファイル(lmlog.txt)の例です:
11:40:22 (lmgrd) -----------------------------------------------
11:40:22 (lmgrd) Please Note:
11:40:22 (lmgrd)
11:40:22 (lmgrd) This log is intended for debug purposes only.
11:40:22 (lmgrd) There are many details in licensing policies
11:40:22 (lmgrd) that are not reported in the information logged
11:40:22 (lmgrd) here, so if you use this log file for any kind
11:40:22 (lmgrd) of usage reporting you will generally produce
11:40:22 (lmgrd) incorrect results.
11:40:22 (lmgrd)
11:40:22 (lmgrd) -----------------------------------------------
11:40:22 (lmgrd)
11:40:22 (lmgrd)
11:40:22 (lmgrd) Done rereading
11:40:22 (lmgrd) FLEXnet Licensing (v11.4.0.0 build 31341) started on license_server (IBM PC) (4/20/2008)
11:40:22 (lmgrd) Copyright (c) 1988-2006 Acresso Software Inc. All Rights Reserved.
11:40:22 (lmgrd) US Patents 5,390,297 and 5,671,412.
11:40:22 (lmgrd) World Wide Web:
11:40:22 (lmgrd) License file(s): C:\Program Files\MATLAB\R2007a\flexlm\license.dat
11:40:22 (lmgrd) lmgrd tcp-port 27000
11:40:22 (lmgrd) Starting vendor daemons ...
11:40:22 (lmgrd) Started MLM (pid 10216)
11:40:22 (MLM) Server started on license_server for:MATLAB
11:40:22 (MLM) SIMULINK
11:40:22 (lmgrd) MLM using TCP-port 1253
11:40:24 (MLM) OUT: "MATLAB" jsmith@license_server
11:51:04 (MLM) IN: "MATLAB" jsmith@license_server
12:18:07 (MLM) OUT: "MATLAB" jsmith@license_server
12:20:25 (MLM) OUT: "SIMULINK" jsmith@license_server
このログファイルでは、ユーザ jsmithが11:40にMATLABのライセンスを取得し、11:51に返却しています。
その後、12:18に再度MATLABのライセンスを取得し、さらに12:20にSIMULINKのライセンスを取得しています。
0 Comments
More Answers (0)
See Also
Categories
Find more on 製品の管理 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!