使用 Ptcflush 实用工具
只有当许可证客户端应用程序不能关闭,未中断许可证服务器与客户端之间的 TCP/IP 连接时,才需要使用 Ptcflush 实用工具。此种情形通常在客户端异常退出或无响应时发生。但是,也不是必须要使用 Ptcflush 实用工具。
您可每隔 10 分钟使用一次 Ptcflush 实用工具。对于使用基于 lmadmin 的许可证服务器的 Ptcflush,请在 license_server_manager_loadpoint/conf 中的 server.xml 文件内设置 licenseReclaimAllowed=”true”。
运行 Ptcflush 的语法如下:
% ptcflush feature_name hostname port handle
执行 ptcstatus 命令以列出 <feature host port handle> 信息,然后将此列表中的信息复制并粘贴到命令提示符处来运行 Ptcflush。
要对正在使用的许可证进行冲洗,例如,如果已分配了别名,请使用功能名称而不是用户定义的名称键入 % ptcflush PROE_Engineer titan 7788 101。