Commit b0cfb8a2 authored by Alexandra's avatar Alexandra

RAM value in MB instead of bytes

parent 78f3a825
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -15,5 +15,5 @@ client.connect(('localhost', 9040))
process = psutil.Process(args.p)
while (1) :
client.send(str((process.memory_info().rss)))
client.send(str((process.memory_info().rss)/1024/1024))
time.sleep(0.1)
Markdown is supported
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