更新时间:2024-04-30 GMT+08:00

在ModelArts Notebook中查询镜像构建缓存

使用ma-cli image df命令查询镜像构建缓存,仅支持在ModelArts Notebook里使用该命令。

$ ma-cli image df -h
Usage: ma-cli image df [OPTIONS]

  Query disk usage used by image-building in Notebook.

  Example:

  # Query image disk usage
  ma-cli image df

Options:
  -v, --verbose       Show detailed information on disk usage.
  -D, --debug         Debug Mode. Shows full stack trace when error occurs.
  
  -h, -H, --help      Show this message and exit.
表1 参数说明

参数名

参数类型

是否必选

参数说明

-v / --verbose

Bool

显示详细的信息开关,默认关闭。

示例

  • 在ModelArts Notebook里查看所有镜像缓存。
    ma-cli image df

  • 显示镜像的详细信息。
    ma-cli image df --verbose