Using jobstats
JSON Output
One can also output the raw JSON:
$ jobstats -j 39798795 | jq
{
"gpus": 4,
"nodes": {
"della-i14g2": {
"cpus": 24,
"gpu_total_memory": {
"0": 42949672960,
"1": 42949672960
},
"gpu_used_memory": {
"0": 28453568512,
"1": 28453568512
},
"gpu_utilization": {
"0": 65.7,
"1": 64.5
},
"total_memory": 137438953472,
"total_time": 164480.1,
"used_memory": 8444272640
},
"della-i14g3": {
"cpus": 24,
"gpu_total_memory": {
"0": 42949672960,
"1": 42949672960
},
"gpu_used_memory": {
"0": 28453634048,
"1": 28453634048
},
"gpu_utilization": {
"0": 72.9,
"1": 67.5
},
"total_memory": 137438953472,
"total_time": 154135.9,
"used_memory": 8419606528
}
},
"total_time": 67316
}