lmutil stat -a -c сервера_лицензий | grep -Ev '^$|Total of 0 licenses in use'
В качестве параметра 'сервера_лицензий' необходимо указать адреса используемых серверов лицензий. Эти адреса зависят от того, какое именно ПО Вас интересует. В частности:
lmutil stat -a -c 1055@vm-ansys | grep -v '^$'
... Feature usage info: Users of aa_mcad: (Total of 30 licenses issued; Total of 0 licenses in use) Users of aa_r: (Total of 5 licenses issued; Total of 5 licenses in use) "aa_r" v2011.1130, vendor: ansyslmd floating license hpcuser10 cn219.hpc.nusc.ru cn219 (v2009.0929) (vm-ansys/1055 503), start Mon 9/28 16:23 hpcuser10 cn210.hpc.nusc.ru cn210 (v2009.0929) (vm-ansys/1055 611), start Tue 9/29 12:08 hpcuser10 cn240.hpc.nusc.ru cn240 (v2009.0929) (vm-ansys/1055 330), start Tue 9/29 13:51 hpcuser10 cn213.hpc.nusc.ru cn213 (v2009.0929) (vm-ansys/1055 411), start Tue 9/29 13:59 hpcuser10 cn205.hpc.nusc.ru cn205 (v2009.0929) (vm-ansys/1055 226), start Tue 9/29 21:16 Users of aa_r_hpc: (Total of 15 licenses issued; Total of 0 licenses in use) Users of aa_ds: (Total of 25 licenses issued; Total of 0 licenses in use) Users of aa_t_a: (Total of 25 licenses issued; Total of 2 licenses in use) "aa_t_a" v2011.1130, vendor: ansyslmd floating license hpcuser10 cn236.hpc.nusc.ru cn236 (v2009.0929) (vm-ansys/1055 170), start Tue 9/29 12:11 hpcuser10 cn282.hpc.nusc.ru cn282 (v2009.0929) (vm-ansys/1055 706), start Tue 9/29 17:36 ...
monitorlm vm-lic1 -localtime -format text
Производитель / ПО | Тип лицензий | Название ресурса PBS |
---|---|---|
Ansys | aa_mcad | lic_ansys_aa_mcad |
Ansys | aa_r | lic_ansys_aa_r |
Ansys | aa_r_hpc | lic_ansys_aa_r_hpc |
Ansys | aa_ds | lic_ansys_aa_ds |
Ansys | aa_t_a | lic_ansys_aa_t_a |
COMSOL | COMSOL | lic_comsol |
MathWorks MATLAB | MATLAB | lic_matlab |
MathWorks MATLAB | Communication_Toolbox | lic_matlab_communication_toolbox |
Wolfram Research Mathematica | Mathematica | lic_mathematica |
Wolfram Research Mathematica | MathKernel | lic_mathematica_mathkernel |
Wolfram Research Mathematica | Sub Mathematica | lic_mathematica_submathematica |
Wolfram Research Mathematica | Sub MathKernel | lic_mathematica_submathkernel |
#PBS -l lic_matlab=3