【Greenhills】MULTI IDE网络版license统计授权使用情况

本文介绍了如何通过GHS安装目录下的lic_log_summary.py脚本来对购买GHS网络版license的客户进行授权使用情况的统计和管理,包括命令行操作和输出参数的解读。
摘要由CSDN通过智能技术生成

【更多软件使用问题请点击亿道电子官方网站查询】

1、 文档目标

用于购买了GHS网络版的客户,对于license的调用情况进行统计和管理

2、 问题场景

对于购买了GHS网络版license的客户,想要对于授权的使用情况进行分析和管理,但是,公司内部又没有专门用于对于license授权进行监控的软件,从而只能通过Log文件去统计信息。

3、软硬件环境

1)、软件版本:MULTI 8.1.4,Compiler 2023.1.4 Final Release for Embedded ARM 

2)、电脑环境:Windows 11

3)、外设硬件:无

4、解决方法

1)、在GHS的安装目录下的licensing_xxx文件夹下有一个文件名为lic_log_summary.py的Python脚本(如图4-1)。这个脚本就是用于统计授权信息的。

图4-1

2)、在该目录下进入到cmd窗口中,然后运行"Python lic_log_summary.py -f xxx.log"这个命令(如图4-2),其中xxx.log是licenselog文件。命令是根据log文件中的信息进行统计分析的。

图4-2

3)、运行后,结果参考如下图4-3。

例如:

 "License usage for ecomarm,"
    "Date" ,              "Installed",         "Max Concurrent Floating" , "Max Users" , "Unused" ,"Total Grants" "Total Releases" "Denied"
    2023-09-27"            ,5                          ,2,                      2,           3,           2,               0,       "0 (0.0% f reqs)"

参数说明:

(1)License usage for ecomarm:表示统计的是ecomarm组件的授权调用信息

(2)Date: date of the licensing activity(授权活动的日期)

(3)Installed: the number of licenses currently installed(当前安装的许可证数量)

(4)Max Concurrent Floating: the maximum number of floating licenses in use at any given time, for the specified  product,during the "Date" period(在指定的日期期间,最大的使用数量)

(5)Max Users: the maximum number of distinct users of this product at any given time, during the "Date" period(在“日期”期间的任何给定时间内,该产品的最大不同用户数量)

(6)Unused: installed-max_floating; basically, the minimum number of floating licenses available for the specified product, during the "Date" period(在指定的日期期间,可用的许可证的最小数量)

(7)Total Grants: the total number of licenses granted for the specified product, during the "Date" period(许可证的总数)

(8)Total Releases: the total number of licenses returned to the server for the specified product, during the "Date" period(在指定的日期期间,返回到服务器上的许可证数量)

(9)Denied: the total number of denials (count and percent)(指定日期期间的被拒绝的总次数)

图4-3

4)、第三步的命令主要是统计当天授权调用的情况,如果想要查看当前月的授权调用情况,要添加参数“-m”,例如:python.exe lic_log_summary.py -m -f ghs_lm.log

————————————————————————

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

关于亿道电子

亿道电子技术有限公司(www.emdoor.cn)是国内资深的研发工具软件提供商,公司成立于2002年,面向中国广大的制造业客户提供研发、设计、管理过程中使用的各种软件开发工具,致力于帮助客户提高研发管理效率、缩短产品设计周期,提升产品可靠性。

二十多年来,先后与ARM、Altium、Ansys、QT、Green Hills、Minitab、EPLAN、QA Systems、OpenText、SureSoft、Visu-IT、PLS、Ashling、MSC Software、Autodesk、Source Insight、IncrediBuild、Lauterbach、Adobe、TestPlant等多家全球知名公司建立战略合作伙伴关系,并作为他们在中国区的主要分销合作伙伴服务了数千家中国本土客户,为客户提供从芯片级开发工具、EDA设计工具、软件编译以及测试工具、结构设计工具、仿真工具、电气设计工具、以及嵌入式GUI工具等等。亿道电子凭借多年的经验积累,真正的帮助客户实现了让研发更简单、更可靠、更高效的目标。

  • 25
    点赞
  • 29
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值