Created
April 5, 2018 14:37
-
-
Save camilonova/878f2178724c8aafb7ab308993da88c5 to your computer and use it in GitHub Desktop.
server diagnoses
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
uptime # uptime and CPU stress | |
w # or better yet:last |head # who is/has been in | |
netstat -tlpn # find server role | |
df -h # out of disk space? | |
grep kill /var/log/messages # out of memory? | |
ps auxf # what's running | |
htop # stressed? , look out for D (waiting on I/O typically) processes | |
history # what has changed recently | |
tail /var/log/application.log # anything interesting logged? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment