Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
aae6fcec
authored
Feb 07, 2014
by
Guba Sándor
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory report error and bug fixed
parent
1709803c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
vmdriver.py
+1
-1
No files found.
vmdriver.py
View file @
aae6fcec
...
@@ -527,5 +527,5 @@ def get_ram_size():
...
@@ -527,5 +527,5 @@ def get_ram_size():
def
get_node_metrics
():
def
get_node_metrics
():
result
=
{}
result
=
{}
result
[
'cpu.usage'
]
=
cpu_percent
(
0
)
result
[
'cpu.usage'
]
=
cpu_percent
(
0
)
result
[
'memory.usage'
]
=
virt
mem_usage
.
percent
()
result
[
'memory.usage'
]
=
virt
ual_memory
()
.
percent
return
result
return
result
Nagy Gergő
@nagygergo
commented
Feb 07, 2014
Igazabol en voltam... Nagy Gergo vagyok.
Igazabol en voltam... Nagy Gergo vagyok.
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