更新时间:2025-09-12 GMT+08:00
分享

获取系统资源

使用get命令获取绑定的性能加速资源。

命令结构

ai4s get resource [flags]
表1 参数说明

参数

简写

是否必选

说明

--type

-t

名称,支持performance,代表性能加速资源。

命令示例

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

  • 获取性能加速资源列表
    ai4s get resource -t performance
    # 执行成功返回结果如下
    ID                                      Name                    Used Capacity   Used Capacity Percent   Max.Capacity    Job Quota       Status                          Purchased               Running Jobs
    075671d6-6f78-4f32-a49c-c742b4324a58    sfs-turbo-ddc6          2.44GB          6.10%                   40GB            1               RUNNING / Schedulable           2025-09-03 15:57:39     0

相关文档