Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ActEV
diva_evaluation_cli
Commits
3d50e245
Commit
3d50e245
authored
Jun 28, 2019
by
Maxime Hubert
Browse files
Merge branch 'resources_monitoring_add_free_disk' into 'development'
Resources monitoring add free disk See merge request
!23
parents
4b3406b4
56b31d55
Pipeline
#140230
passed with stage
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/utils.py
View file @
3d50e245
...
...
@@ -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
...
...
Maxime Hubert
@mxmtr
mentioned in issue
#15 (closed)
·
Jul 01, 2019
mentioned in issue
#15 (closed)
mentioned in issue #15
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment