查看软件许可证
更新时间 2025-09-29 17:49:28
最近更新时间: 2025-09-29 17:49:28
本节主要介绍查看软件许可证命令。
./stor license ls [ -r | --record ] [ -u | --usage ] [ { -n | --license } LICENSE_ID ]
此命令用来查看软件许可证信息。
参数
| 参数 | 描述 |
|---|---|
| -r或--record | 查看软件许可证购买信息。 |
| -u或--usage | 查看软件许可证使用信息。 |
| -n LICENSE_ID或--license LICENSE_ID | 查看指定LICESE_ID的软件许可证信息。 |
示例
查看软件许可证信息(永久许可模式)。
[root@hblockserver CTYUN_HBlock_Plus_3.10.0_x64]# ./stor license ls Customer name: Customer ABC As the operating entity utilizing the HBlock to run your business, you bear the responsibility for the network and information security of the business you are operating. License List: +--------------------------------------+---------------+-----------+-----------+----------------------+ | LicenseId | Account | Type | Status | MaximumLocalCapacity | +--------------------------------------+---------------+-----------+-----------+----------------------+ | qws2b6a9-f3fb-4098-a6b3-3652a5a76530 | test@ctyun.cn | Perpetual | Effective | 2 PiB | +--------------------------------------+---------------+-----------+-----------+----------------------+ License qws2b6a9-f3fb-4098-a6b3-3652a5a76530 (Effective): Record: +---------------------+-----------+---------------+--------------------------+-----------------------+-----------+ | PurchaseTime | Operation | LocalCapacity | MaintenanceEffectiveTime | MaintenanceExpireTime | Status | +---------------------+-----------+---------------+--------------------------+-----------------------+-----------+ | 2025-08-05 09:34:27 | New | 2 PiB | 2025-08-05 09:34:27 | 2026-08-05 09:34:27 | Effective | +---------------------+-----------+---------------+--------------------------+-----------------------+-----------+ Usage: +----------------------+--------------------------+-----------------------+-----------+ | MaximumLocalCapacity | MaintenanceEffectiveTime | MaintenanceExpireTime | Status | +----------------------+--------------------------+-----------------------+-----------+ | 2 PiB | 2025-08-05 09:34:27 | 2026-08-05 09:34:27 | Effective | +----------------------+--------------------------+-----------------------+-----------+查看软件许可证信息(订阅模式)。
[root@hblockserver CTYUN_HBlock_Plus_3.10.0_x64]# ./stor license ls As the operating entity utilizing the HBlock to run your business, you bear the responsibility for the network and information security of the business you are operating. License List: +--------------------------------------+------------------------+--------------+-----------+----------------------+ | LicenseId | Account | Type | Status | MaximumLocalCapacity | +--------------------------------------+------------------------+--------------+-----------+----------------------+ | ehc2b6a9-f3fb-4098-a6b3-3652a5d71232 | testaccount1@ctyun.com | Subscription | Effective | 1 PiB | +--------------------------------------+------------------------+--------------+-----------+----------------------+ License ehc2b6a9-f3fb-4098-a6b3-3652a5d71232 (Effective): Record: +---------------------+-----------+---------------+---------------------+---------------------+-----------+ | PurchaseTime | Operation | LocalCapacity | EffectiveTime | ExpireTime | Status | +---------------------+-----------+---------------+---------------------+---------------------+-----------+ | 2025-07-30 14:40:36 | New | 1 PiB | 2025-07-30 14:40:36 | 2026-07-30 14:40:36 | Effective | +---------------------+-----------+---------------+---------------------+---------------------+-----------+ Usage: +----------------------+---------------------+---------------------+-----------+ | MaximumLocalCapacity | EffectiveTime | ExpireTime | Status | +----------------------+---------------------+---------------------+-----------+ | 1 PiB | 2025-07-30 14:40:36 | 2026-07-30 14:40:36 | Effective | +----------------------+---------------------+---------------------+-----------+
软件许可证信息描述
| 项目 | 描述 |
|---|---|
| Customer name | 客户名称。 说明 如果申请许可证时未填写,不显示此字段。 |
| License List:软件许可证列表。 | |
| LicenseId | 软件许可证ID。 |
| Type | 软件许可证订购类型:
|
| Status | 软件许可证状态:
|
| MaximumLocalCapacity | 允许的本地卷总容量。 “-”表示未限制本地卷容量。 |
| Record:软件许可证购买信息。 | |
| PurchaseTime | 软件许可证购买时间。 |
| Operation | 软件许可证的购买记录:
|
| LocalCapacity | 本次购买软件许可证,容许本地卷的容量。 |
| EffectiveTime | 对于订阅模式软件许可证,软件许可证生效时间。 |
| ExpireTime | 对于订阅模式软件许可证,软件许可证过期时间。 |
| MaintenanceEffectiveTime | 对于永久许可模式软件许可证,软件许可证维保生效时间。 |
| MaintenanceExpireTime | 对于永久许可模式软件许可证,软件许可证维保过期时间。 |
| Status | 软件许可证状态:
|
| Usage:软件许可证使用情况。 | |
| MaximumLocalCapacity | 允许的卷总容量。 “-”表示未限制本地卷容量。 |
| EffectiveTime | 对于订阅模式软件许可证,软件许可证生效时间。 |
| ExpireTime | 对于订阅模式软件许可证,软件许可证过期时间。 |
| MaintenanceEffectiveTime | 对于永久许可模式软件许可证,软件许可证维保生效时间。 |
| MaintenanceExpireTime | 对于永久许可模式软件许可证,软件许可证维保过期时间。 |
| Status | 软件许可证状态:
|