Skip to content

Instantly share code, notes, and snippets.

@ciembor
Created July 30, 2011 18:24
Show Gist options
  • Save ciembor/1115826 to your computer and use it in GitHub Desktop.
Save ciembor/1115826 to your computer and use it in GitHub Desktop.
Simple monitor of disk usage
#!/bin/bash
# Example usage:
# dfmonitor -h /home
while true;
do
clear
df $@
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment