Skip to content

Instantly share code, notes, and snippets.

@BernardoSilva
Created December 5, 2016 11:59
Show Gist options
  • Save BernardoSilva/22b1a8d73cdeff8dd821982cbdb7c24f to your computer and use it in GitHub Desktop.
Save BernardoSilva/22b1a8d73cdeff8dd821982cbdb7c24f to your computer and use it in GitHub Desktop.
server-debug-tips
# Check the disk status of a server
$ df
# Find why the disk if full, list the 10 biggest directories/files from current directory
$ du -hsx * | sort -rh | head -10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment