http.Response-models_Unit
data object[]
allocation object
Allocation map of unit. Only string and int64 values are supported in map
avg_cpu_mem_usage object
Average CPU memory usage(s) during lifetime of unit
avg_cpu_usage object
Average CPU usage(s) during lifetime of unit
avg_gpu_mem_usage object
Average GPU memory usage(s) during lifetime of unit
avg_gpu_usage object
Average GPU usage(s) during lifetime of unit
Identifier of the resource manager that owns compute unit. It is used to differentiate multiple clusters of same resource manager.
slurm-0Creation time
2023-02-21T15:48:20+0100Creation timestamp
1676990900000Human readable total elapsed time string
2-00:10:20End time
UnknownEnd timestamp
0User group
grp1Name of compute unit
my-slurm-jobAccount in batch systems, Tenant in Openstack, Namespace in k8s
prj1Name of the resource manager that owns compute unit. Eg slurm, openstack, kubernetes, etc
slurmStart time
2023-02-21T15:49:06+0100Start timestamp
1676990946000Current state of unit
RUNNINGtags object
A map to store generic info. String and int64 are valid value types of map
total_cpu_emissions_gms object
Total CPU emissions from source(s) in grams during lifetime of unit
total_cpu_energy_usage_kwh object
Total CPU energy usage(s) in kWh during lifetime of unit
total_egress_stats object
Total Outgress statistics of unit
total_gpu_emissions_gms object
Total GPU emissions from source(s) in grams during lifetime of unit
total_gpu_energy_usage_kwh object
Total GPU energy usage(s) in kWh during lifetime of unit
total_ingress_stats object
Total Ingress statistics of unit
total_io_read_stats object
Total IO read statistics during lifetime of unit
total_io_write_stats object
Total IO write statistics during lifetime of unit
total_time_seconds object
Different types of times in seconds consumed by the unit. This map contains at minimum walltime, alloc_cputime, alloc_cpumemtime, alloc_gputime and alloc_gpumem_time keys.
Username
usr1Unique identifier of unit. It can be Job ID for batch jobs, UUID for pods in k8s or VMs in Openstack
193048Possible values: [``, unauthorized, forbidden, timeout, canceled, execution, bad_data, internal, unavailable, not_found, not_acceptable]
{
"data": [
{
"allocation": {
"cpus": 1,
"gpus": 1,
"mem": 10
},
"avg_cpu_mem_usage": {
"global": 45.26
},
"avg_cpu_usage": {
"global": 70.12
},
"avg_gpu_mem_usage": {
"global": 45.26
},
"avg_gpu_usage": {
"global": 70.12
},
"cluster_id": "slurm-0",
"created_at": "2023-02-21T15:48:20+0100",
"created_at_ts": 1676990900000,
"elapsed": "2-00:10:20",
"ended_at": "Unknown",
"ended_at_ts": 0,
"groupname": "grp1",
"name": "my-slurm-job",
"project": "prj1",
"resource_manager": "slurm",
"started_at": "2023-02-21T15:49:06+0100",
"started_at_ts": 1676990946000,
"state": "RUNNING",
"tags": {
"gid": "1000",
"uid": "1000",
"workdir": "/home/user"
},
"total_cpu_emissions_gms": {
"emaps_total": 3.09,
"owid_total": 5.22
},
"total_cpu_energy_usage_kwh": {
"total": 0.73
},
"total_egress_stats": {
"bytes_total": 454342323,
"packets_total": 23232323
},
"total_gpu_emissions_gms": {
"emaps_total": 12.09,
"owid_total": 15.22
},
"total_gpu_energy_usage_kwh": {
"total": 5.39
},
"total_ingress_stats": {
"bytes_total": 8503405,
"packets_total": 43423
},
"total_io_read_stats": {
"bytes_total": 245000000,
"requests_total": 49423
},
"total_io_write_stats": {
"bytes_total": 12000000,
"requests_total": 13923
},
"total_time_seconds": {
"alloc_cpumemtime": 1000,
"alloc_cputime": 100,
"alloc_gpumemtime": 100,
"alloc_gputime": 100,
"walltime": 100
},
"username": "usr1",
"uuid": "193048"
}
],
"error": "string",
"errorType": "",
"status": "string",
"warnings": [
"string"
]
}