弹性云服务器 ECS-qt enclave子命令介绍:qt enclave console

时间:2024-07-19 20:19:21

qt enclave console

在启动QingTian Enclave时,指定为debug-mode时,用于在父虚拟机中查看QingTian Enclave中的只读控制台输出,命令格式如下:

[root@localhost ~]# qt enclave console -h

Command
    qt enclave console : Console an enclave via the enclave-id while debugging.

Arguments
    --enclave-id [Required]

Global Arguments
    --debug                 : Increase logging verbosity to show all debug logs.
    --help -h               : Show this help message and exit.
    --only-show-errors      : Only show errors, suppressing warnings.
    --output -o             : Output format.  Allowed values: json, jsonc, none, table, tsv, yaml,
                              yamlc.  Default: json.
    --query                 : JMESPath query string. See http://jmespath.org/ for more information
                              and examples.
    --verbose               : Increase logging verbosity. Use --debug for full debug logs.

Examples
    Given an enclave-id to console an enclave
        qt enclave console --enclave-id [ENCLAVE-ID]

必选项:--enclave-id,指定需要获取只读控制台输出的QingTian Enclave虚拟机的enclave-id。

命令行执行成功后,会打印QingTian Enclave虚拟机的只读控制台输出,如下所示:

hello enclave! 
hello enclave! 
hello enclave! 
hello enclave!

您可以使用ctrl+c的方式退出该命令。需要注意的是,在同一时间我们只允许一个qt enclave console命令作用于一个指定的QingTian Enclave实例。

support.huaweicloud.com/usermanual-ecs/ecs_03_1419.html