一个穷人的解决方案是使用lmutil命令行工具,该工具在下找到C:\Program Files\ArcGIS\LicenseManager\License10.x\bin
。输出非常丑陋且嘈杂,但是可以正常工作。
复制lmgrd.exe
和lmutil.exe
任何其他计算机或位置,并独立运行它们。
这是我在X:\ Tools(所有用户的公用网络文件夹)上的批处理文件,其中两个exe位于X:\ Tools \ Bin中。有了这个,任何人都可以窥视有多少可用的许可证,并且如果目前没有免费的话,可以知道该打电话给谁。
@::show-license-status.bat
@echo off
:: Report ESRI License Manager status
:: 2009.August.05 * matt.wilikie@gov.yk.ca * this script is public domain.
setlocal
path=%path%;%~dp0\bin
:: use hardcoded server unless server/ip specified on command line
if [%1]==[] (
set arclic_server=OUR_LICENSE_SERVER
) else (
set arclic_server=%1
)
lmutil lmstat -a -c @%arclic_server%
pause
样本输出:
Z:\Tools>show-license-status.bat
lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
Flexible License Manager status on Thu 2/5/2015 10:13
[Detecting lmgrd processes...]
License server status: 27000@LIC_SERVER
License file(s) on LIC_SERVER: C:\ArcGIS\LicenseManager\License10.2\bin\service.txt:
LIC_SERVER: license server UP (MASTER) v11.11
Vendor daemon status (on LIC_SERVER):
ARCGIS: UP v11.11
Feature usage info:
Users of ACT: (Total of 1 license issued; Total of 0 licenses in use)
Users of ARC/INFO: (Total of 6 licenses issued; Total of 2 licenses in use)
"ARC/INFO" v10.1, vendor: ARCGIS
floating license
joejoe mac_220912 yR1xiboo!"_Z7nM=cP4d (v10.1) (LIC_SERVER/27000 302), start Thu 2/5 9:23
janejane mac_220909 yR1xiboo!!e`E&le6{U (v10.1) (LIC_SERVER/27000 102), start Thu 2/5 9:23
Users of ArcStorm: (Total of 6 licenses issued; Total of 0 licenses in use)
Users of ArcStormEnable: (Total of 6 licenses issued; Total of 0 licenses in use)
Users of Grid: (Total of 7 licenses issued; Total of 5 licenses in use)
"Grid" v10.1, vendor: ARCGIS
floating license
joejoe mac_220912 yR1xiboo!"_Z7nM=cP4d (v10.1) (LIC_SERVER/27000 202), start Thu 2/5 9:23
...etc.
etc.