我需要制作一个脚本,以便更好地监控留给ClearCase的许可证。
我得到了以下错误。
是否有命令来检查正在使用多少令牌,以及有多少可以在脚本中免费使用
Could not get a license! Message is:
Licensed number of users already reached
Feature: ****
License path: /**/***/****/license.dat
FLEXlm error: -4,132
For further information, refer to the FLEXlm End User Manual,
available at "www.globetrotter.com".
_____RTDS_EXPORT_OK____ 发布于 2014-05-14 20:04:06
最初的命令是clearlicense。
但是,如果在输入clearlicense时得到"Error: No clearlicense information available. Use FLEXlm utilities instead",这实际上意味着您正在使用Flexlm来管理令牌。
在这种情况下,您的ClearCase管理员必须访问Flexlm工具,以便获得所使用的许可证的状态。
(它应该是密钥管理员“)
您有一个相当全面的关于Flexlm令牌管理的常见问题(word文档)。
它确认:
FlexLM Error -4,132 - the feature failed to check out 当所有令牌都在使用时,尝试签出许可证时会出现此错误消息。
要完成答案,您可以使用以下命令获取flexlm许可信息: lmstat -f -c /path/to/license/file 其中包括许可证的主动签出。
-f ClearCase -c {许可证端口@主机} lmstat -f TLSTOK -c {许可证端口@主机} 后者需要使用"
ClearCase“进行在线过滤。 功能名称是必需的。
https://stackoverflow.com/questions/23663987
复制相似问题