Help Center> ModelArts> DevEnviron> ModelArts CLI Command Reference> ma-cli Image Building Command> Obtaining Image Creation Caches in ModelArts Notebook
Updated on 2023-11-21 GMT+08:00

Obtaining Image Creation Caches in ModelArts Notebook

Run the ma-cli image df command to obtain image creation caches. This command is available only in ModelArts notebook instances.

$ 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.
Table 1 Parameters

Parameter

Type

Mandatory

Description

-v / --verbose

Bool

No

Whether to display detailed information. This function is disabled by default.

Examples

  • View all image caches in ModelArts notebook.
    ma-cli image df

  • View details about an image.
    ma-cli image df --verbose