Last active
December 26, 2015 09:29
-
-
Save nmccready/7129406 to your computer and use it in GitHub Desktop.
OSX swap check 4 eva
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
run=1 | |
while [ $run ] | |
do | |
echo 'Swap Space monitoring forever.' | |
echo '------------------------------' | |
echo ' ' | |
echo ' ' | |
ls -lh /private/var/vm/swapfile* | |
sleep 2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment