Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camilonova/878f2178724c8aafb7ab308993da88c5 to your computer and use it in GitHub Desktop.
Save camilonova/878f2178724c8aafb7ab308993da88c5 to your computer and use it in GitHub Desktop.
server diagnoses
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