Created
December 5, 2016 11:59
-
-
Save BernardoSilva/22b1a8d73cdeff8dd821982cbdb7c24f to your computer and use it in GitHub Desktop.
server-debug-tips
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
# 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