summaryrefslogtreecommitdiff
path: root/try_qlogin
diff options
context:
space:
mode:
Diffstat (limited to 'try_qlogin')
-rwxr-xr-xtry_qlogin9
1 files changed, 9 insertions, 0 deletions
diff --git a/try_qlogin b/try_qlogin
new file mode 100755
index 0000000..b939117
--- /dev/null
+++ b/try_qlogin
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+trap 'echo Control-C trap caught; exit 1' 2
+
+while true
+do
+ qlogin -l mem_free=$1
+done
+