Skip to content

Instantly share code, notes, and snippets.

@patricksimpson
Created March 28, 2018 13:18
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 patricksimpson/90a4bf3cf911317dd63a837461c903e4 to your computer and use it in GitHub Desktop.
Save patricksimpson/90a4bf3cf911317dd63a837461c903e4 to your computer and use it in GitHub Desktop.
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