Commit 49da73fa authored by Maxime Hubert's avatar Maxime Hubert
Browse files

Merge branch 'development' of https://gitlab.kitware.com/actev/diva_evaluation_cli into development

parents fc238769 3d50e245
Pipeline #140325 passed with stage
in 30 seconds
......@@ -22,7 +22,11 @@ def psutil_snapshot():
),
'total_disk_io_write': psutil_parse_readable_bytes(
psutil.disk_io_counters(perdisk=False, nowrap=True).write_bytes
)
),
'free_disk_space': {
disk[1]: psutil_parse_readable_bytes(psutil.disk_usage(disk[1])[2])
for disk in psutil.disk_partitions()
}
}
return snapshot_dict
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment