diff options
Diffstat (limited to 'i3/Scripts/ram.sh')
-rw-r--r-- | i3/Scripts/ram.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/i3/Scripts/ram.sh b/i3/Scripts/ram.sh deleted file mode 100644 index b0c2442..0000000 --- a/i3/Scripts/ram.sh +++ /dev/null @@ -1,19 +0,0 @@ -PIDFILE=/tmp/statRam.pid -STATUSFILE=/tmp/dsbRfree - -kill `cat $PIDFILE` -if [ $? -eq 0 ]; then - echo "Shutting down" - rm $STATUSFILE - exit -fi - -echo "Starting up" - -echo $$ > $PIDFILE - -while true; do - echo " $(free -h | grep Mem: | awk '{print $3}') " > $STATUSFILE - sleep 2 -done - |