医疗智能体 EIHealth-获取系统资源:命令示例

时间:2025-02-12 14:53:01

命令示例

本节以Windows为例介绍eihealth-toolkit的使用过程,Linux和macOS环境使用方法基本相同,可参考。

  • 获取计算资源列表
    health get resource -t computing# 执行成功返回结果如下Id                                              Name                                                    Specifications                          Billing Mode            Data Disk               Status          Purchased               Schedulable8a178a22-38ca-4707-bab3-e12324cdc96d            health-ef0ec0fb-4022-46c9-898e-fbd440b44c09             eihealth.cpu.spec.cpu4.4xlarge.2        Pay-per-use             SAS|200GB               ACTIVE          2024-01-02 17:30:28     true
  • 获取性能加速资源列表
    health get resource -t performance# 执行成功返回结果如下ID                                              Name                                                    Specifications                          Billing Mode    Used Capacity   Used Capacity Percent   Max.Capacity    Job Quota       Status                          Purchased               Running Jobs01c24e2f-2038-4718-acb0-a0c388a2f93c            sfs-turbo-218766ac-5855-4ad4-a5fd-67130951afdd          eihealth.storage.ioacc.spec.ioacc       xxx     0.00GB          0.00%                   100GB           1               ACTIVE / Schedulable            2023-01-19 21:57:51     0
  • 获取数据库资源列表
    health get resource -t database# 执行成功返回结果如下Name                                            Specifications                                  Billing Mode    Usage           Data Disk       Status          Purchased 医疗智能体 数据库标准版 200 GB                           eihealth.dbm.spec.standard.200g(4vCPUS|8GB)     Pay-per-use             2.36GB          40GB            NORMAL          2023-12-27 16:07:12
  • 获取存储资源列表
    health get resource -t storage# 执行成功返回结果如下Name                             Specifications                    Billing Mode    Usage    Purchased EIHealth SingleAZStoragePackage   eihealth.storage.spec.singleaz    xxx             4.06TB   2021-09-10 20:58:03
  • 获取计算资源节点标签
    health get resource -t computing -a get-labels  -n 9b1727a3-2102-4d92-95b9-7eaa86b398ac1 111 123 copy-in
  • 获取计算资源规格列表
    health  get resource -t computing  -a flavors  -z cn-north-7cFlavor Name                             vCPUs | Memory          Assured/Maximum Bandwidth       Packets per Second(PPS)         Sold Outeihealth.cpu.spec.cpu1.8xlarge.2        32vCPUS/64GB            8/15 Gbit/s                     2600000 pps                     trueeihealth.cpu.spec.cpu1.8xlarge.4        32vCPUS/128GB           8/15 Gbit/s                     2600000 pps                     trueeihealth.cpu.spec.cpu1.15xlarge.2       60vCPUS/128GB           16/16 Gbit/s                    5000000 pps                     trueeihealth.cpu.spec.cpu1.15xlarge.4       60vCPUS/256GB           16/16 Gbit/s                    5000000 pps                     trueeihealth.cpu.spec.cpu3.xlarge.2         4vCPUS/8GB              2.4/8 Gbit/s                    800000 pps                      falseeihealth.cpu.spec.cpu3.2xlarge.2        8vCPUS/16GB             4.5/15 Gbit/s                   1500000 pps                     falseeihealth.cpu.spec.cpu3.4xlarge.2        16vCPUS/32GB            9/20 Gbit/s                     2800000 pps                     trueeihealth.cpu.spec.cpu3.8xlarge.2        32vCPUS/64GB            18/30 Gbit/s                    5500000 pps                     trueeihealth.cpu.spec.cpu3.8xlarge.4        32vCPUS/128GB           18/30 Gbit/s                    5500000 pps                     true

support.huaweicloud.com/clilist-eihealth/eihealth_31_0043.html