Commit 8ae75133 authored by Alexandra's avatar Alexandra Committed by Alexandra Rogova

RAM value in MB instead of bytes

parent ce0e80f4
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