summaryrefslogtreecommitdiff
path: root/scripts/doc_put_memory_usage/get-mem.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-04-07 12:40:45 -0300
committerdrebs <drebs@leap.se>2014-04-09 14:44:09 -0300
commit573909b10d77ef3d889d33cfaeb3fdadd0135daf (patch)
tree33c4835a3384be1d9b8b01a6d306168ace536b87 /scripts/doc_put_memory_usage/get-mem.py
parent8b8d9befbe3e60753e73bc7aaf1b8842a1846046 (diff)
Reorganize scripts directory.
Diffstat (limited to 'scripts/doc_put_memory_usage/get-mem.py')
-rwxr-xr-xscripts/doc_put_memory_usage/get-mem.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/doc_put_memory_usage/get-mem.py b/scripts/doc_put_memory_usage/get-mem.py
deleted file mode 100755
index d64875fc..00000000
--- a/scripts/doc_put_memory_usage/get-mem.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/python
-
-
-import psutil
-import time
-
-
-delta = 50 * 60
-start = time.time()
-
-while True:
- now = time.time()
- print "%s %s" % (now - start, psutil.phymem_usage().used)
- time.sleep(0.1)
- if now > start + delta:
- break