医疗智能体 EIHEALTH-获取task详情:响应示例

时间:2024-05-10 16:07:29

响应示例

状态码: 200

OK

{
  "id" : "1",
  "command" : "printf 'Hello World!' | split -b 6 - chunk_\n  echo 'Hello World!'",
  "status" : "COMPLETED",
  "exit" : 0,
  "work_dir" : "/nextflow/__nextflow_work__/a49cd176-c35a-4e27-b287-659a7de1b9d9/c75e9b6b-c719-40cc-a77a            -772a367b3068/bf/96d1bcb452ae0b420c74965b3b770d",
  "module" : [ ],
  "container" : "100.79.1.215:20202/hwofficial/coredns:1.23.2",
  "attempt" : 1,
  "execution_time" : {
    "submit" : "2023-03-15T07:43:51Z",
    "start" : "2023-03-15T07:43:52Z",
    "complete" : "2023-03-15T07:43:54Z",
    "duration" : 2445,
    "realtime" : 588
  },
  "resource_requested" : {
    "container" : "100.79.1.215:20202/hwofficial/coredns:1.23.2",
    "cpus" : 1
  },
  "resource_usage" : {
    "cpu_percent" : 1.7,
    "mem_percent" : 0,
    "rchar" : 44191,
    "wchar" : 244,
    "read_bytes" : 4096,
    "write_bytes" : 0,
    "vmem" : 3735552,
    "rss" : 2658304,
    "peak_vmem" : 3735552,
    "peak_rss" : 2658304,
    "syscr" : 125,
    "syscw" : 16,
    "vol_ctxt" : 6,
    "inv_ctxt" : 0
  }
}
support.huaweicloud.com/api-eihealth/ShowNextflowTaskDetail.html