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
793c9e37
Commit
793c9e37
authored
Jun 28, 2019
by
Maxime Hubert
Browse files
Fix free disk space label in resources monitoring report
parent
56a8d96c
Pipeline
#140228
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 @
793c9e37
...
...
@@ -23,7 +23,7 @@ def psutil_snapshot():
'total_disk_io_write'
:
psutil_parse_readable_bytes
(
psutil
.
disk_io_counters
(
perdisk
=
False
,
nowrap
=
True
).
write_bytes
),
'
total
_disk_space'
:
{
'
free
_disk_space'
:
{
disk
[
1
]:
psutil_parse_readable_bytes
(
psutil
.
disk_usage
(
disk
[
1
])[
2
])
for
disk
in
psutil
.
disk_partitions
()
}
...
...
Write
Preview
Markdown
is supported
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