医疗智能体 EIHealth-获取task详情:响应参数

时间:2023-11-01 16:18:53

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

id

String

task id

command

String

task执行命令

status

String

task状态

error_action

String

task失败后的策略

exit

Integer

task退出状态码

work_dir

String

task执行路径

environment

String

task执行的环境变量值

module

Array of strings

子任务运行环境列表

container

String

容器名称

attempt

Integer

执行次数

scratch

String

临时工作目录

execution_time

表4 object

task执行时间信息

resource_requested

表5 object

task资源信息

resource_usage

表6 object

task资源使用信息

表4 NextflowTaskExecutionTime

参数

参数类型

描述

submit

String

提交时间

start

String

开始时间

complete

String

完成时间

duration

Long

总时间

realtime

Long

实际运行时间

表5 NextflowTaskResourceRequested

参数

参数类型

描述

container

String

容器名称

queue

String

执行队列,使用','分隔多个值

cpus

Integer

指定task执行需要的cpu数量

memory

String

指定task执行需要的内存大小

disk

String

指定task执行需要的磁盘大小

time

String

指定task执行需要的时间

表6 NextflowTaskResourceUsage

参数

参数类型

描述

cpu_percent

Double

cpu占用率

mem_percent

Double

内存占用率

rchar

Long

读取字符数

wchar

Long

写入字符数

read_bytes

Long

读取字节数

write_bytes

Long

写入字符数

vmem

Long

process虚拟内存大小

rss

Long

process实际内存大小

peak_vmem

Long

process虚拟内存峰值

peak_rss

Long

process实际内存峰值

syscr

Long

系统调用次数

读取类操作

syscw

Long

系统调用次数

写入类操作

vol_ctxt

Long

自愿上下文切换数

inv_ctxt

Long

非自愿上下文切换数

support.huaweicloud.com/api-eihealth/eihealth_33_00405.html