summaryrefslogtreecommitdiff
path: root/take-mem
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-11-04 17:04:12 +0100
committerPatrick Simianer <p@simianer.de>2016-11-04 17:04:12 +0100
commit5339c8fdb1df47a2dab688bf1469e02a28eb0c89 (patch)
tree80b99604096f43fee6573c0cc08ab6b1f56de827 /take-mem
parentf0f25e71f85035cbeddbb7342844f2e4cf024446 (diff)
rename, remove non nlp stuff
Diffstat (limited to 'take-mem')
-rwxr-xr-xtake-mem18
1 files changed, 0 insertions, 18 deletions
diff --git a/take-mem b/take-mem
deleted file mode 100755
index 57289a5..0000000
--- a/take-mem
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-import time
-
-if len(sys.argv) != 2:
- print "usage: fillmem <number-of-megabytes>"
- sys.exit()
-
-count = int(sys.argv[1])
-
-megabyte = (0,) * (1024 * 1024 / 8)
-
-data = megabyte * count
-
-while True:
- time.sleep(1)
-